Firmware Config Parameters in Flash

I have an embedded firmware application that has some configuration options. I want to separate the firmware application image from the configuration in flash. Normally, this involves creating a dedicated section in the memory.x file for storing the config data and writing a configuration verify/load step in the init section of the application. While I think I could figure out how to do this with manual flash loading, I have been really enjoying the ease of use with probe-rs (I can just use cargo for everything). However, I have not found any resources on the best way to do this on the web. Can anyone point me to a guide for a clean way to do this, ideally leveraging the Rust toolchain as much as possible.


This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.