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++ using STM32

Hello!
I have the following problem:
- I have used some sample code provided by ST from which I was able to
compile and run the graphic display demonstration (with ST logo and butterfly
animation).
- I have added a class for the LCD, which takes care of the whole initialization
and until here everything works fine, the code that was in main() is now in the
LCD class file, but it doesn’t cause any problem.

Now here is the problem:
- I wanted to add a class in stm32469i_discovery_lcd.h / .cpp.
Just to make it simple, I first added this
class Brol {
public:
Brol(){}
virtual ~Brol(){}
protected:
private:
};
I have put it outside of the ifdef cplusplus extern “C” area, but the IDE
says that class not a type. Here is the exact message.
../Utilities/STM32469I-Discovery/stm32469i_discovery_lcd.h:154:1: error: unknown type name ‘class’
class Brol

Does anybody have an idea why class is understood in some parts and not in
some other parts of the program?

Thanks,

Pascal

Please test that compiler is C++ (g++), but not C (gcc). That is my guess.