2020-11-23 11:59 PM
Hey there
does anyone know a good reference for implementing c++ inheritance specially for stm32 or ARM in general?
2020-11-24 12:29 AM
There is nothing architecture- or vendor-specific in C++.
Check you toolchain, which language standard it supports.
2020-11-24 12:33 AM
The GCC toolchain implements the language features. Here is an overview: https://gcc.gnu.org/projects/cxx-status.html
The default toolchain in ST32CubeIDE is 7-2018-q2-update but you can install newer ones, e.g. 9-2020-q2-update with C++17 support.
Larger showcases of C++ in MCUs are ARM mbed and Arduino.