Skip to main content
Michael J
Associate
October 31, 2018
Question

Why does STM32CubeMX include CMSIS DSL_Lib sources in my SW4STM32 project?

  • October 31, 2018
  • 1 reply
  • 787 views

When I open the resultant project in SystemWorkbench, there's an entire DSP_Lib folder that is full of sources that I don't want or need. My current project doesn't use DSP. Is it safe to just delete these or exclude them from the build? Why would I want the source for this entire middleware layer in my project tree? 

Is there an option to disable generation of these sources in CubeMX?

This topic has been closed for replies.

1 reply

After Forever
Senior III
October 31, 2018

Try to choose the "Copy only the necessary library files" radio-button in the Project Settings' Code Generator tab and regenerate the code.

Michael J
Michael JAuthor
Associate
November 2, 2018

This is/was already checked.