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


You are viewing a reply to How to program in c++ by AC6  

How to program in c++ by AC6

Hi,

To create a new C++ Project, Go to File > New > Project... > C/C++ > C++ Project. Enter the project name, then select as project type : Executable > Ac6 STM32 MCU Project and as Toolchains : Ac6 STM32 MCU GCC.
Your source files extension have to be .cpp to be built with the G++ Compiler.

For more details, follow this documentation page : http://www.openstm32.org/Creating+a+new+projectQuestion
(Instead of selecting “C Project”, choose “C++ Project”).



If your have created and imported your project from CubeMX, to convert your C project into C++ project: Right-click on your project, then select “Convert to C++” (ensure you have the latest version of System Workbench, this feature has been fixed recently (Help > Check for Updates...)).
Rename the source file extension into .cpp for the C++ code.

Hope it answer your problem,
Kevin