2023-04-14 08:00 AM
I want to use the newer version of the CMSIS DSP library in my project with an stm32f767zi, but I can't get the code to compile without errors relating all the functions found under CMSIS/DSP/Source. With older versions of CMSIS DSP I've followed the guide: 'Configuring DSP libraries on STM32CubeIDE' (I cannot post links as a new user)
But this is now out of date since CMSIS updated their file structures...
I've tried to include the library manually, which works for 'arm_math.h', but not for all of the functions. I would like to be able to use all of the filtering functions which are also present in CMSIS 5.9.0, but this does not work at all it seems since I get errors while installing it through the 'manage software packs' section.
Has anyone managed to use version 5.8.0 with CubeIDE?
Many thanks in advance!
Solved! Go to Solution.
2023-04-18 01:05 AM
Hi, thanks for the reply!
I'm using CubeIDE 1.12.0 and I finally got it to work!!
I only needed to exclude the ARM_CMSIS/CMSIS/DSP/Source folder from the project.
2023-04-18
12:48 AM
- last edited on
2023-12-06
04:51 AM
by
Laurids_PETERSE
Hello @eric Nordén,
First let me welcome you to the STM32 Community and thank you for having reported your issue.
> I've followed the guide: 'Configuring DSP libraries on STM32CubeIDE' (I cannot post links as a new user)
To post link: you should select the text, then click on this icon:
About your reported issue, it will be better to share your screenshot with more details about the error message.
Which CubeIDE version used?
Can you check if you select the "Project Settings" option, into STM32CubeMX: “add necessary library files as reference…�? to make sure adding the missing files from the Pack repository and not from the user environment.
Imen
2023-04-18 01:05 AM
Hi, thanks for the reply!
I'm using CubeIDE 1.12.0 and I finally got it to work!!
I only needed to exclude the ARM_CMSIS/CMSIS/DSP/Source folder from the project.
2023-04-18 02:26 AM
Glad to hear you made it work and thanks for updating your post.
2023-09-06 10:03 AM - edited 2023-09-09 06:37 AM
Just created a new H7 project in the latest STMCubeIDE 1.13.1 selecting CMSIS 5.8.0 and STM have still not fixed the issue.
I can't exclude the include line you mention as it doesn't exist in our projects, we have just CMSIS\Include.
Adding the following lines to the include allowed it to compile but there are link errors, there must be a single include to fix this issue?
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/FastMathsFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/SVMFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/SupportFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/TransformFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/StatisticsFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/QuaternionMathFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/MatrixFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/InterpolationFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/FilteringFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/DistanceFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/ComplexMathFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/ControllerFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/CommonTables/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/BayesFunctions/
C:/Users/YourUser/STM32Cube/Repository/Packs/ARM/CMSIS/5.8.0/CMSIS/DSP/Source/BasicMathFunctions/
2024-01-07 11:41 PM
Could you explain what exactly you did?