Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions pytest-embedded-nuttx/pytest_embedded_nuttx/serial.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ class NuttxSerial(EspSerial):
# Default offset for the primary MCUBoot slot across
# all Espressif devices on NuttX
MCUBOOT_PRIMARY_SLOT_OFFSET = 0x10000
FLASH_BAUDRATE = 921600
SERIAL_BAUDRATE = 115200

binary_offsets: ClassVar[Dict[str, int]] = {
Expand Down Expand Up @@ -103,7 +102,7 @@ def flash(self) -> None:
'--port',
self.port,
'--baud',
str(self.FLASH_BAUDRATE),
str(self.esptool_baud),
'write_flash',
*flash_files,
*flash_settings,
Expand Down
1 change: 0 additions & 1 deletion pytest-embedded/pytest_embedded/dut_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,6 @@ def _fixture_classes_and_options_fn(
kwargs[fixture].update({
'app': None,
'baud': int(baud or NuttxSerial.SERIAL_BAUDRATE),
'esptool_baud': int(os.getenv('ESPBAUD') or esptool_baud or NuttxSerial.FLASH_BAUDRATE),
})
else:
from pytest_embedded_serial_esp import EspSerial
Expand Down
Loading