About sdkconfig options

MarusGradinaru
Posts: 5
Joined: Mon Jun 09, 2025 7:05 pm

About sdkconfig options

Postby MarusGradinaru » Tue Jun 17, 2025 9:59 am

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?

Sprite
Espressif staff
Espressif staff
Posts: 10650
Joined: Thu Nov 26, 2015 4:08 am

Re: About sdkconfig options

Postby Sprite » Tue Jun 17, 2025 12:38 pm

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.

MarusGradinaru
Posts: 5
Joined: Mon Jun 09, 2025 7:05 pm

Re: About sdkconfig options

Postby MarusGradinaru » Tue Jun 17, 2025 12:47 pm

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...

Who is online

Users browsing this forum: Qwantbot and 3 guests