Updating sdkconfig using OTA

louisthetall
Posts: 8
Joined: Thu Jan 04, 2018 8:36 pm

Updating sdkconfig using OTA

Postby louisthetall » Wed Sep 16, 2020 7:40 pm

Hi,

I am trying to figure out if it is possible to change the sdkconfig that was flashed onto a device by using OTA. According to a comment made in another thread, recent ESP-IDF versions will reconfigure the SPI flash when the app starts after an OTA update.

However based on my tests, new sdkconfig parameters do not take effect after an OTA update. The device runs the new program, but uses the old sdkconfig.

Is there a way to update the sdkconfig without needing to re-flash the device?

chegewara
Posts: 2230
Joined: Wed Jun 14, 2017 9:00 pm

Re: Updating sdkconfig using OTA

Postby chegewara » Thu Sep 17, 2020 7:25 am

sdkconfig is not something you are updating with OTA. With OTA you can update firmware/app and eventually bootloader (not recommended), but changes you will do in sdkconfig will affect how firmware/app, not all changes thou.

ESP_Sprite
Posts: 9016
Joined: Thu Nov 26, 2015 4:08 am

Re: Updating sdkconfig using OTA

Postby ESP_Sprite » Thu Sep 17, 2020 8:10 am

What specific setting in the sdkconfig did you change? What version of esp-idf are you using?

Who is online

Users browsing this forum: Google [Bot] and 137 guests