We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 057781b commit 17e29dfCopy full SHA for 17e29df
pytest-embedded-nuttx/pytest_embedded_nuttx/serial.py
@@ -76,6 +76,12 @@ def get_key_from_value(dictionary, val):
76
# Flash Mode
77
self.flash_mode = get_key_from_value(FLASH_MODES, image.flash_mode)
78
79
+ # From esp-idf/components/esptool_py:
80
+ # We use esptool.py to flash bootloader in dio mode for QIO/QOUT, bootloader then
81
+ # upgrades itself to quad mode during initialization.
82
+ if self.flash_mode in ("qio", "qout"):
83
+ self.flash_mode = "dio"
84
+
85
@EspSerial.use_esptool()
86
def flash(self) -> None:
87
"""Flash the binary files to the board."""
0 commit comments