August 3, 2020
On-Chip debugging with STM32 chips
I was looking for a nice IDE integrated on-chip debugging setup for STM32 chips and the STLink V3 on macOS. Neither OpenOCD nor st-util worked out of the box with CLion. I didn’t want to use gdb directly.
STCubeIDE works great, but I don’t want to use STCubeMX projects. I’m writing firmware using chibios right now. I wanted something which works for any RTOS without much hastle.
So I took some inspiration from how STCubeIDE works.
Read more