Page 1 of 1

sdkconfig is ignored

Posted: Fri Dec 30, 2022 5:13 pm
by br0kenpixel
I followed the instructions on installing the Rust toolchain for the ESP32 and generated a project using the following command:

Code: Select all

cargo generate https://github.com/esp-rs/esp-idf-template cargo
I wanted to modify some build configurations to disable logging and rebooting on panic. The generated project already contained an sdkconfig.defaults file. I added the necessary changes but my ESP32 behaved the same as before these changes.
I tried adding ESP_IDF_SDKCONFIG/ESP_IDF_SDKCONFIG_DEFAULTS to the [env] section in .cargo/config.toml but still nothing. The sdkconfig.defaults file is being ignored completely. Another thing I tried is putting random characters into it to make the build fail on purpose, but the build was completed successfully, which again suggests that the file is ignored.
Could someone please help me?

Re: sdkconfig is ignored

Posted: Fri Dec 29, 2023 1:18 pm
by Jonathan2892
Hi,

I ran into the same problem...
Have you ever found a solution?

Best
Jonathan

Re: sdkconfig is ignored

Posted: Tue Jan 30, 2024 11:39 am
by dlakatos847
Same issue here. Is there any solution available? Thanks.

Re: sdkconfig is ignored

Posted: Fri May 31, 2024 3:36 pm
by Harm024
What worked for me was deleting the .embuild directory and using cargo clean. After that changes got picked up again.