cancel
Showing results for 
Search instead for 
Did you mean: 

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

Michael J
Associate

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?

2 REPLIES 2

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

This is/was already checked.