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 ]] = {
@@ -109,7 +108,7 @@ def flash(self) -> None:
109108 '--port' ,
110109 self .port ,
111110 '--baud' ,
112- str (self .FLASH_BAUDRATE ),
111+ str (self .esptool_baud ),
113112 'write_flash' ,
114113 * flash_files ,
115114 * 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