Tips for programming, debugging and flashing - RoboDurden/Hoverboard-Firmware-Hack-Gen2.x GitHub Wiki
Navigating in the Keil IDE
- F12 is great to jump to the declaration/definition of a function or variable
- Ctrl+Shift+F does the opposite: search for all occurrences in the project file.
StmStudio to visualize global variables at runtime
- free download: https://www.st.com/en/development-tools/stm-studio-stm32.html
- compile with debug info

- import .axf file and choose your global(!) variables to monitor

- choose Maximum Acquisition rate

- select and send imported variables to the realtime viewer

- Graph- and Table-display both have great value

- to monitor local variables, simply make them global

flashing problems
- on Windows, auto-flash.bat still works great when Keil F8 will not: Turn off board, start auto-flash.bat, turn on board !