Cannot Build Project from Exported STM32CubeMX - RESOLVED
I’m trying to get started with a new SW4STM32 and STM32CubeMX install, trying to run the “blink” example from ST’s STM32CubeMX User Manual (UM 1718). Everything goes exactly as documented until I try to build, which fails with 500+ errors similar to the following:
make: *** Drivers/CMSIS/DSP_Lib/Source/TransformFunctions/arm_bitreversal.o Error 1 Blink1 C/C++Problem
unknown type name ‘__INLINE’ arm_math.h /Blink1/Drivers/CMSIS/Include line 484 C/C++ Problem
unknown type name ‘uint8_t’ arm_math.h /Blink1/Drivers/CMSIS/Include line 2004 C/C++ Problem
MBITREVINDEXTABLE__16_TABLE_LENGTH’ arm_common_tables.h /Blink1/Drivers/CMSIS/Include line 100 C/C++ Problem
Some compiler parameter seems to be significantly off, but I don’t really know where to start on resolving this. The symptoms seem similar to another forum post, but none of the details in the fix seem to apply.
Does anyone have any insight?
Thanks.
Eclipse 4.6.3
STMCubeMX 4.23.0
ARM Compiler 1.15.0