STM32MP1 support available in SW4STM32

   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 download a short video showcasing this on the ac6-tools website (registration required).

System Workbench for STM32

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

How to program in c++ by AC6


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,