Associate II
June 5, 2021
Solved
How to configure external eclipse stm32 project so that it can be debugged as cube cortex application
- June 5, 2021
- 5 replies
- 8768 views
Our project firmware is build using cmake. Cmake is used to create Eclipse project like this
cmake ..\Firmware -G"Eclipse CDT4 - Ninja" -DCMAKE_ECLIPSE_VERSION=4.16
I can import project to CubeIde without proplems and buid it there. Proplem is that CubeIde debugger configuration does seems to accept project as valid project for debuged in stm32.
I have also created bootloader using CubeIde and that I can use for debugging and I have attached Firmware elf to be loaded when BL is debugged. This is workaround to make possible to use CubeIde debugging our firmware.
I attach photo Eclipse error message when configuring debugger
How I should modify our Firmware project so that CubeIde can use it directly to debugging?
