What is the good way to import an STM32 project that compiles on a server which uses a makefile and no IDE into STM32CubeIDE in order to debug it.
Hello everyone,
I want to debug an existing application (STM32F405) of my company which has been coded without IDE (so just makefile and gcc on our server) and using the stlink to flash.
I imported this project with the option "makefile project" on the CubeIDE and with small changes i made it compile. However i can't run debug and i get that error :
Error in final launch sequence:
Failed to execute MI command:
-exec-run
Error message from debugger back end:
During startup program exited with code 126.
Failed to execute MI command:
-exec-run
Error message from debugger back end:
During startup program exited with code 126.
During startup program exited with code 126.
Also i get an error which talks about mcu target not configured in build configuration but i don't see where i should select the target.
Anyway did someone dealed with that issue and fixed it ? I believed IF it's possible that i have to configure the build / debug configuration or sth else but i can't figure out what is exactly the problem.
Thanks in advance for your asnwer.
Best Regards,
Thomas