Unable to flash QOUT mode

For some reason my production boards don’t boot if not flashed in QOUT mode.

I have tried just about everything but no matter what flashing in Platformio uses DIO mode,

This is the platformio file


platform = espressif32

board = esp32dev

framework = arduino

monitor_speed = 115200


board_build.flash_mode = qout

board_build.f_flash = 80000000L

build_flags = -DCORE_DEBUG_LEVEL=5

Any ideas?

Yes, there is an override. See

How can i get around this ?

Well comments in Fix flash mode for `opi` by Jason2866 · Pull Request #904 · platformio/platform-espressif32 · GitHub claim the override is correct though…

If you want to test what happens without it, just add a

extra_script = disable_override.py

to your environment with the file’s content being

def get_board_flash_mode(env):
   return env.subst("$BOARD_FLASH_MODE")



So strange that it can’t boot on the newest versions but on @1.0.6 it works perfectly.

this is the error

configsip: 0, SPIWP:0xee
mode:DIO, clock div:2
1150 mmu set 00010000, pos 00010000
1150 mmu set 00020000, pos 00020000
1150 mmu set 00030000, pos 00030000
1150 mmu set 00040000, pos 00040000
ho 0 tail 11 room 5