STM32 runtime Variable value manipulation
JTAG/SWD can be used to change variables.
Or you can make a simple serial console that allows to change the variables. Either with text commands like &quot;p 3.14159&quot; or simply make different letters change a value by some amount and print the new value out.
Same can be achieved with pushbuttons and LCD, or by blinking LEDs, if you have no other interface.