Hello @GAgar.1 and welcome to the Community :)
I recommend you to have a look at this article Configuring DSP libraries on STM32CubeIDE, shows how to integrate the DSP Libraries in an STM32CubeIDE project.
Hope my answer helped you!
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks