Setting SW4STM32 to debug an external project (created without CubeMX)?
Hello,
I was introduced to CubeMX code generation and SW4STM32 debugging in a STM workshop.
I figured I could use this tool to debug a github project (INavflight). Indeed I have already the program flashed on my board (MCU F427), and would like to learn from the code running step by step about program structure and most of all MCU features like core, timers, DMA...
I have Eclipse installed on Linux, with SW4STM32 and CubeMX plugins. I already used it successfully to debug a Led blink program on a L4 Nucleo board.
I imported in a workspace the github code which compiled OK. But as this project was not generated using CubeMX, I have issues setting up debugging.
What files do the project need to launch SW4STM32 debugger? I think of the xml file for board description, the debug script. Maybe the .ioc file with MicroXplorer entries? Am I missing much more?
I am currently stuck with the debug profile not recognizing the MCU/board, which invalidates the tab and prevents from saving the debug script in next tab.
I already tweaked and imported xml, cfg and ioc files, without success. How far am I?
Thank you for your time, best regards,
Maxime C.