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


Convert to C++ results in linker error "undefined reference to _exit"

Using a simple CubeMX generated project, the project builds and debugs ok but when I do a Project “Convert to C++”, I get a link error “undefined reference to _exit”. Converting back to C works ok.

Already answered here: http://www.openstm32.org/forumthread739Question.

When converting to C++, linker .ld file reference needs to be changed from ${workspace_loc:/${ProjName}/LinkerScript.ld} to ..\STM32F407VGTx_FLASH.ld

This setting is found in Project / right-click menu Properties / node C/C++ Builder / Settings / tab Tool Settings / node MCU G++ Linker / General / field Linker Script (-T).

After this, I could link/debug etc. and I could rename my main.c to main.cpp and link/debug etc.