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


C++ base class

HI,
I am beginning with STM32 and english is not my natural language.

I have created a new C++ project. In it I want to create classes. In the menu : New - class opens a window where we can give the name of the class, its source name ... I can’t have the ‘finish’ button active. In fact I think it want a base class. I click to ADD. It opens a new window, I uncheck ‘struct’, I write ‘*’ in the search section and I wait .... wait ....wait may be one hour without any result.

First question : is there a base class for STM32 development ? I mean a ‘super base class’ from who all other classes inherit.
Second question : if there is none, how can I create one ? I mean : I can write
‘public class my_base_class() { ...] in a .cpp file but can this class be recognize by the IDE ?

Jean in Grenoble France

Hi Jean,

There is not a base class for STM32 development.
To add a C++ class, right click on the project -> New -> Class:
Make sure to enter the right source folder (e.g projectname/src)
The class name (this will fill automatically the header and source files)
The finish button will be enabled as soon as you enter the class name.

You can also create manually the .cpp file, the IDE will automatically detect it as a source file if it was placed in a source folder (like projectname/src)

Regards,
Roy
Ac6

Hi Roy,

I did what you said. This time I got an error :
Folder ‘/GVC_TEST1_CCPP/Src’ is not a source folder.
As, in this folder, there are some .c files but no .cpp or .cc, I started a brand new project based on ‘STM32 cube file (.ioc) because I have one and then I got the error :

This file has been generated with STM32CubeMX version ‘5.6.1’.Your current STM32CubeMX version is ‘5.6.0’.
Please check for update: Help > Check for Updates

My cube version is 5.6.1; how can it find it is 5.6.0 ? I donwloaded the cube and ide the same day perhaps last week or the week before. What update must I do in cube or in IDE ?

Jean very upset and near to give up