[ Prev ] [ Index ] [ Next ]
[ Index ]
Sign in

Using CMSIS DSP library

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

  1. Open Project → Properties → C++ general → Paths and Symbols
  2. 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")
  3. 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
  4. Under the tab “Symbols” add two values: __FPU_PRESENT, ARM_MATH_CM4 (note double underscore in __FPU_PRESENT)
  5. Under the tab “Includes” add path C:\Documents and Settings\user_name\STM32Cube\Repository\STM32Cube_FW_F4_version\Drivers\CMSIS\DSP\Include

YouTube channel