Debugger / Compiler
OpenOCD
Installation
$ sudo apt update
$ sudo apt install openocdYou can refer to directory to get some configuration file for debugger
$ cd /usr/local/share/openocd/scripts/board $ cat stm32h7x3i_eval.cfgYou should see something like this:
source [find interface/stlink.cfg]
transport select hla_swd
source [find target/stm32h7x_dual_bank.cfg]
reset_config srst_onlyCompiler's option
When we are linking libary for stm32 target, we may need to set the flag by ourselves, we can refer Makefile generated by CubeMX
For example
References
Last updated