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


Importing a CubeMX project with Debug and Release Targets

Hi FarmerJo,
Once you imported a CubeMX generated project into SW4STM32, you may want to create / manage the (build) configurations using :
- Right-click on your project >> Properties >> C/C++ Build >> Manage Configurations button (on the top right side of the window);

This IOC file (CubeMX extension) can be reopened and updated in CubeMX.
Warning, the user code must be located in between the beacons/tags :

/* USER CODE BEGIN # */
/* USER CODE END # */

... else it will be lost.

I would recommend -Og optimization at the beginning.
Then, when the application is functional, you may switch to :
-Os to reduce the generated code size (but with lower performances);
-O3 to get high performance application (but with a bigger ode size);