What is the proper way to include the DSP library in a CMake project?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 12:11 PM
I am using STM32CubeMX 6.12.0 to generate a CMake project for VSCode on Linux. In the Software Packs Component Selector, I have chosen to include the DSP library.
STM32CubeMX includes the library and headers when generating code. So far, so good.
However, the include path, linker path and library are not specified in the the generated CMake files. I would expect these to be included by STM32CubeMX. But, not a problem. I can add them myself.
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 3:41 PM
In case this helps anyone else, there are two steps required to use the DSP library.
- Enable the DSP library in the Software Component Selector as shown above.
- Enable the "DSP Library Library" [sic] "Mode" of the X-CUBE-ALGOBUILD component in the Middleware and Software Packs configuration section.
To say that the requirement for the second step is a bit confusing would be an understatement. It would seem to me that enabling this component should be the default when the software pack is selected, considering it is the only option available for that component.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-07-16 3:41 PM
In case this helps anyone else, there are two steps required to use the DSP library.
- Enable the DSP library in the Software Component Selector as shown above.
- Enable the "DSP Library Library" [sic] "Mode" of the X-CUBE-ALGOBUILD component in the Middleware and Software Packs configuration section.
To say that the requirement for the second step is a bit confusing would be an understatement. It would seem to me that enabling this component should be the default when the software pack is selected, considering it is the only option available for that component.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-09 4:59 AM
Hi,
I am trying this and its still not working unless i manually include in the cmake, wondering if you had to include any defines in your main code to enable it?
thanks for any help
