esp-rs / embuild

Build support for embedded Rust: Cargo integration with other embedded build ecosystems & tools, like PlatformIO, CMake and kconfig.
Apache License 2.0
139 stars 40 forks source link

`menuconfig --release true` not saving changes #61

Open usbalbin opened 2 years ago

usbalbin commented 2 years ago

I have created a project using

cargo generate --git https://github.com/esp-rs/esp-idf-template cargo

Running cargo pio espidf menuconfig works fine and I can see the saved changes in the UI from last time. Compiling the code (cargo build) also works and I can tell the changes are in effect. I can also see that my_project_root/sdkconfig.debug is updated.

However when I try to switch to release mode, thing works less great.

Running cargo pio espidf menuconfig --release true does not produce a my_project_root/sdkconfig.release. When running the command multiple times the changes seems to not get saved. Compiling the code using cargo build --release does not seem to be using my changes.