File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
pytest-embedded-nuttx/pytest_embedded_nuttx
pytest-embedded/pytest_embedded Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ class NuttxSerial(EspSerial):
1616 # Default offset for the primary MCUBoot slot across
1717 # all Espressif devices on NuttX
1818 MCUBOOT_PRIMARY_SLOT_OFFSET = 0x10000
19- FLASH_BAUDRATE = 921600
2019 SERIAL_BAUDRATE = 115200
2120
2221 binary_offsets : ClassVar [Dict [str , int ]] = {
@@ -103,7 +102,7 @@ def flash(self) -> None:
103102 '--port' ,
104103 self .port ,
105104 '--baud' ,
106- str (self .FLASH_BAUDRATE ),
105+ str (self .esptool_baud ),
107106 'write_flash' ,
108107 * flash_files ,
109108 * flash_settings ,
Original file line number Diff line number Diff line change @@ -243,7 +243,6 @@ def _fixture_classes_and_options_fn(
243243 kwargs [fixture ].update ({
244244 'app' : None ,
245245 'baud' : int (baud or NuttxSerial .SERIAL_BAUDRATE ),
246- 'esptool_baud' : int (os .getenv ('ESPBAUD' ) or esptool_baud or NuttxSerial .FLASH_BAUDRATE ),
247246 })
248247 else :
249248 from pytest_embedded_serial_esp import EspSerial
You can’t perform that action at this time.
0 commit comments