2019-12-18 07:48 AM
I want to use the DSP functions that are present in CMSIS. I'm using STM32CubeIDE with my target board being the ST32F411RE Discovery. Using CMSIS DSP with Keil uVision is extremely simple, you just select thew pack you want and use it but it's not so simple with STM32CubeIDE. CMSIS is included with the latest firmware pack STM32Cube_FW_F4_V1.24.2 but there doesn't seem to be any option within CubeMX or the IDE to add the DSP libraries (which are present in the firmware pack). The CORE libraries are added by default. I have added the DSP Include and Source folders to my workspace, I have added the include paths to the IDE but when I add
#include "arm_math.h
to main.c
I get an error telling me that
fatal error: arm_math.h: No such file or directory
and it is directed at each DSP source file.
I've spent the last few days trying to get past this. Has anyone used the CMSIS DSP functions in STM32CubeIDE and if so, how have they managed to set up CMSIS DSP to work with the IDE? Are there any further things that I could try with my setup? I'm surpised that the integrated CubeMX code generator doesn't provide the option to include DSP.
Many thanks
2022-11-21 05:17 AM
Many Thanks Bro
2022-11-30 02:51 AM
Hi
Were you able to figure out how to integrate latest CMSIS- DSP which atm is 1.14.2 to stm32 cube ide?
Thanks
2022-11-30 06:32 AM
I tried manually using the Cmsis github but it wasn't compatible, so I'll have wait until STM fix the problem. STMCube32IDE is quite unstable though they've just released a full update. Hoping that might fix it.
2022-12-01 02:42 AM
2022-12-01 02:42 AM
2022-12-04 07:34 AM
Hi! Im using 1.11.0 and wanted to add CMSIS-DSP to a Cortex-M0 project.
I also struggled at first, but managed to do it pretty easily at the end:
Hope this helps!
2023-01-18 06:56 AM
I just set a #define at the top
of file "Drivers/CMSIS/Include/core_cm4.h"
which forced it. Using STM32F446RE btw.
FFTs etc now running fine.
#define __FPU_PRESENT 1U