Created Saturday 11 November 2023
Find three header files (arm_common_tables.h, arm_const_structs.h, arm_math.h) and libarm_cortex..._math.a library in firmware package for your MCU series.
Example for STM32F4 series
- Open Project → Properties → C++ general → Paths and Symbols
- Under the tab “Libraries” add arm_cortexM4lf_math (note that actual file name starts with “lib” and ends with “.a”, so you need to delete prefix "lib" and file extension ".a")
- Under the tab “Library Paths” add path to libarm_cortexM4lf_math.a, for example:C:\Documents and Settings\user_name\STM32Cube\Repository\STM32Cube_FW_F4_version\Drivers\CMSIS\Lib\GCC
- Under the tab “Symbols” add two values: __FPU_PRESENT, ARM_MATH_CM4 (note double underscore in __FPU_PRESENT)
- Under the tab “Includes” add path C:\Documents and Settings\user_name\STM32Cube\Repository\STM32Cube_FW_F4_version\Drivers\CMSIS\DSP\Include