Skip to content

Commit

Permalink
fix: non-standard default baud rate
Browse files Browse the repository at this point in the history
Caused errors while not explicitly providing the ESPBAUD environment variable due to non-standard default baud rate.
  • Loading branch information
ronmov committed Apr 22, 2024
1 parent 20ae307 commit 181104b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest-embedded-idf/pytest_embedded_idf/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def flash(self, app: Optional[IdfApp] = None) -> None:
_args.append(str(v))

if '--baud' not in _args:
_args.extend(['--baud', os.getenv('ESPBAUD', '1000000')])
_args.extend(['--baud', os.getenv('ESPBAUD', '921600')])
_args.append('write_flash')

if self.erase_nvs:
Expand Down

0 comments on commit 181104b

Please sign in to comment.