stm32-debug - STM32 Firmware Build, Flash, Debug, and Monitoring
Compiles, flashes, debugs, monitors SWO logs, and inspects variables and registers for STM32 microcontrollers.
Tags
Updated: 2026-09-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Compile STM32 firmware
- Flash firmware to target MCU
- Debug firmware using GDB
- Monitor SWO output logs
- Read variables and registers
- Manage breakpoints and watchpoints
- Inspect program execution state
- Inspect SVD register definitions
Inputs
- ELF firmware file
- SVD description file
- OpenOCD board configuration
- Target CPU frequency
- Build command
Outputs
- SWO log file
- GDB memory read script
- Debug session state file
- Terminal debug output
Requirements
- arm-none-eabi-gcc
- openocd
- gdb-multiarch
- python3
