Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


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

So in the end, following the instruction hereQuestion to create a new makefile project and then adding the original project folder as a “Linked folder” did the trick.
I could then set a custom build command and working directory in the project build settings.