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.
2 parents 057781b + 890ed19 commit 3c85c5fCopy full SHA for 3c85c5f
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