Debugging an existing makefile project
Hello,
We just took over an STM32F417 project that was originally developed under IAR IDE. We didn’t want to use IAR so we made a makefile using arm gcc toolchain and we can now build the project like that.
We now would like an eclipse based IDE only for debugging, with ST-link v2 debugger. SW4STM32 looks like it is made for that but I don’t know how to proceed starting with our existing project.
I installed SW4STM32 from the installer on a Ubuntu 16.04 64bit computer.
I tried to do New project -> Makefile project with existing code and then selected Ac6 STM32 MCU GCC tool chain. But I see no option for choosing the target.
In project setttings -> c/c++ build -> settings, I don’t have tabs like ‘Target’ or ‘Steps’...
When I try to setup a debug configuration, I click new configuration after selecting ‘Ac6 STM32 debugging’, the .elf file is selected automatically, but nothing in the Debugger tab. I thought it was supposed to be filled automatically.
I suppose these problems are related to the way I created the project in SW4STM32.
How could I proceed knowing that I want to keep my current makefile and project structure ?
Any help would be very appreciated.
Thanks,
Ril