Debug CMake project with STM32CubeIDE
Hey, I'm using the latest Cube IDE and would like to Debug a Cmake Project.
I'm using an Stm32F429 Disc Board for testing purposes.
The Project Structure looks like this:
- myProjectSourceCode
- app (contains main() + ASM Startup Code + App Code)
- modules
- SomeModuleCode (this code is used in multple applications)
- STM32GeneratedCode (this code was generated using Stm32Cube IDE. It contains the ioc file + all STM32 HAL drivers)
- SomeExternalLibaries
- build
Simple Debugging of the generated code works nicely =>so there is no hardware issue there
I imported the whole project structure as a "makefile project". By doing so I can actually build this cmake project within STM32CubeIDE.
Now the problems arise when I try to create a debug config.
STM32CubeIDE always tells the that no target device was found.
How can I tell the debugger that the target is an STM32F429?
Could you help me out here?
thx, greets Julian
