cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot debug an existing makefile project from STM32CUbeIDE

Gpeti
Senior II

Hello,

I want to use STM32CubeIDE only to debug an existing project (build with Make).

I created a project by doing Import > Existing code as Makefile project.

It seems to work (files are visible, make commands work from Buidl Targets).

Then I tried to create a Debug Configuration. I tried different kinds of debug Configuration, the only one who worked is "GDB Hardware Debugging". the loading of the binary seems to work , however the debug itself doesn't. it looks like the hardware is not setup (MCU, memory mapping etc...).

Can you explain the right way to debug an existing Makefile project in STM32CubeIDE ?

0 REPLIES 0