2021-09-22 12:37 AM
Hello
I've created a project that has created an elf file:
However, when I run debug on STM32CubeIDE I get the following message:
Can anyone advise, please? I've not had this problem before with STM32G071, but am trying with STM32F413.
Thanks
Solved! Go to Solution.
2021-09-22 06:14 AM
Go into Run -> Debug Configurations... and make sure it's pointing to the right ELF in the "C/C++ Application" field. Hit "Search Project" and ensure it exists.
2021-09-22 02:02 AM
Are you building in release or in debug mode?
2021-09-22 06:14 AM
Go into Run -> Debug Configurations... and make sure it's pointing to the right ELF in the "C/C++ Application" field. Hit "Search Project" and ensure it exists.
2021-09-26 01:32 AM
Hello, Thanks Javier and @TDK for your replies.
I'm working in Debug mode and got STM32CubeIDE to accept the ELF.
The first step was indicated by TDK by (Run -> Debug Configurations...) [note: ensure that CubeIDE only has one project open, the one that is requiring this modification].
This showed 'C/C++ Application' being empty:
Pressing 'Search Project...' gave the following:
Double clicking on the ELF filled in the missing file: