Page 1 of 1

About sdkconfig options

Posted: Tue Jun 17, 2025 9:59 am
by MarusGradinaru
I did the following test. I went into menuconfig and chose Flash SPI Mode: DOUT. I saved and then checked the sdkconfig file. And both options were changed accordingly:
CONFIG_ESPTOOLPY_FLASHMODE_DOUT=y
CONFIG_ESPTOOLPY_FLASHMODE="dout"
Then I changed in menuconfig to QIO, saved and then in sdkconfig it looks like this:
CONFIG_ESPTOOLPY_FLASHMODE_QIO=y
CONFIG_ESPTOOLPY_FLASHMODE="dio"
Is there a bug that prevents the string option from updating or is there something I'm missing and this is how it should actually work?

Re: About sdkconfig options

Posted: Tue Jun 17, 2025 12:38 pm
by Sprite
If I recall correctly, the ESP32 bootloader doesn't support QIO, so the 2nd bootloader (or even the application, I don't remember) needs to do the switch. Hence the bootloader still is configured to dio.

Re: About sdkconfig options

Posted: Tue Jun 17, 2025 12:47 pm
by MarusGradinaru
So it's better to leave it as it is and not force it with CONFIG_ESPTOOLPY_FLASHMODE="qio" like I was doing ?

I have a ESP32-WROVER-E N8R8. Is there some documentation where I can find the parameters of my module... ? Like those for Flash and PSRAM...