sdkconfig is ignored

br0kenpixel
Posts: 2
Joined: Fri Dec 30, 2022 4:58 pm

sdkconfig is ignored

Postby br0kenpixel » Fri Dec 30, 2022 5:13 pm

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?

Jonathan2892
Posts: 45
Joined: Tue Dec 07, 2021 4:04 pm

Re: sdkconfig is ignored

Postby Jonathan2892 » Fri Dec 29, 2023 1:18 pm

Hi,

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

Best
Jonathan

dlakatos847
Posts: 2
Joined: Tue Jan 30, 2024 11:38 am

Re: sdkconfig is ignored

Postby dlakatos847 » Tue Jan 30, 2024 11:39 am

Same issue here. Is there any solution available? Thanks.

Harm024
Posts: 1
Joined: Fri May 31, 2024 3:29 pm

Re: sdkconfig is ignored

Postby Harm024 » Fri May 31, 2024 3:36 pm

What worked for me was deleting the .embuild directory and using cargo clean. After that changes got picked up again.

Who is online

Users browsing this forum: No registered users and 4 guests