We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I understand that I need to compile the CMSIS-DSP library, but I don't know how to do it. Is there a guide somewhere on how to compile it? I've spent all day trying to use cmake but got nowhere (I don't even know if I need to use cmake, but the existence of "CMakeLists.txt" and a couple of *.cmake files in the DSP\source folder led me to investigate it.)
paul
Hello Paul
This is documented here:
https://github.com/ARM-software/CMSIS-DSP?tab=readme-ov-file#how-to-build
It is easiest to use as a CMSIS-Pack component in your project.
Thank you Ronan, that looks exactly like what I was looking for. I'm surprised that Google didn't spot it.
Yes, CMake is the right tool for compiling CMSIS-DSP. If you're stuck, AI tools like Deep Seek or ChatGPT can help troubleshoot errors. I’ve also shared some insights on logindeepseek.com if you want to check it out. What specific issue are you running into?
Thanks Robert. I did manage to compile it eventually. It was a steep learning curve for me. I had assumed that CMake is a build tool; It took me a long time to realise that CMake is a build tool for build tools. I had to make some changes to the provided CMakeLists.txt file and then I had to edit the generated build.ninja file to fix up the relative include file paths. But I got there in the end.
Paul Cowper glad you got it working! CMake can be a headache at first, but you pulled through.