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 two short videos (registration required) highlighting:

System Workbench for STM32


tutorial on setting and compiling in Linux?

Hi,
I have all the tools installed, I generate the code with the STM32CubeMX, import in eclipse, but failed to compile .....
error: core_cmFunc.h: No such file or directory ;

There is an good (complete) tutorial for linux?

Hi nicola,
I am not aware of a tutorial specific to Linux. I think the tools are meant to be used the same for any host OS.

The Linux version is less mature and I have found some difficulties which I have been able to overcome. One of these is the need to provide complete include paths in order that include headers be found. After that, there is the backslash for the linker file. With those resolved I have been able to build projects imported from MX.

I have not worked as much with projects created directly by Workbench so I am not able to comment on that other than to say I have gotten projects to build using that also.


Hi Nicola,

As HankB said, there is some difficulties in using STM32 tools under linux. Actually, I’m able to generate code from STM32CubeMX, import them in SW4STM32 IDE, compile after few tricks and finally flash the target and use debug tools ! Here is how I’m used to proceed :
1. Generate code from STM32CubeMX following the advices from here : http://www.openstm32.org/Importing+a+STCubeMX+generated+project?structure=DocumentationQuestion
I stop the tuto at section 4 (included), as I’m not obliged to rename the project configuration....
2. Modify include paths as follows :
Project->Properties->C/C++ builds->Settings->MCU GCC compiler->Include.
Edit each include paths string by adding “../../../” at the beginning.
3. Modify paths for linker file as follow:
Project->Properties->C/C++ builds->Settings->MCU GCC linker->General.
Replace “" by “/” in the string path.

Compilation should now be OK.

Hope this helps.

BaDuf