mike-pittelko / BlackMagic-STM32CubeIDE

How to set up a blackmagic probe with STM32CubeIDE
12 stars 3 forks source link

Printf configuration #1

Open DvDriel opened 3 years ago

DvDriel commented 3 years ago

Hi,

Thx for the little guide, it helped me to use my bmp in the stm32CubeIDE. I wad wondering how you do your printf debugging with this setup. I couldn't manage to get swv to work and neither managed to use the uart port on the bmp.

Thanks in advance!

mike-pittelko commented 3 years ago

I haven't used the bmp's virtual uart, I usually use uart2 on the chip instead. I don't have a lot of help I can provide on this one. An example that uses the on-chip uart is here: https://github.com/mike-pittelko/minimal-blue-pill-stm32cubemx