sdkconfig is ignored
Posted: 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:
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?
Code: Select all
cargo generate https://github.com/esp-rs/esp-idf-template cargo
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?