Human Interface to Change UART Baud Rate and Variable Values Without Modifying Source Code
Hi everyone,
I'm currently working on an STM32 project using STM32CubeIDE, and I need to implement a way to modify certain parameters, specifically the UART baud rate and some variable values, without having to exit the running application or modify the source code.
The idea is to have a simple human interface (either through UART commands, a basic GUI, or even a command line tool) that can change these settings at runtime. Here's what I'm looking for:
- Ability to modify UART baud rate dynamically from a predefined set of values.
- Modify some specific variables in the code (e.g., configuration parameters) without recompiling.
- No need to exit or reset the application while making these changes.
- If possible, I would prefer to avoid adding heavy libraries that take too much memory.
I've looked into using UART commands and CLI-based interfaces but haven't found a clear solution yet. Any suggestions or examples on how to approach this would be greatly appreciated!
Thanks in advance for your help!
Best regards,
Fawez Chaieb
