Question
Compilation errors with STM32 CubeMX C project with .cpp header file having 'Class' type declaration
I want to include Arduino ADXL345 C++ library (ADXL345.cpp/ADXL345.h) in STM32 CubeMX generated C project.
I'm getting the following compilation errors with CubeMX C project with .cpp header file having 'Class' type declaration in Atollic -
unknown type name 'class' ADXL345.h /STM32_SPI/Inc line 115 C/C++ Problem
How to resolve this?
