cancel
Showing results for 
Search instead for 
Did you mean: 

How to use DSP in STM32G070?

noob
Associate II

0693W00000KbYkqQAF.pngI have used DSP in STM32F411 successfully,but when i want to use DSP in STM32G070 , i find the DSP files are some different,such as G070's DSP files : ./Sourse/. have a Cmakelists.txt. i dont know how to use that txt file, so i just add DSP as usual.

but! when i try to compile , it has 757 errors! How amazing!

so,could anyone can tell how to do?thanks all !

1 ACCEPTED SOLUTION

Accepted Solutions
noob
Associate II

0693W00000KbZhnQAF.png​Thank to answer, I have solved this problem. I delete some files such as .\Source\BasicMathFunctions\BasicMathFunctions.c .\Source\CommonTables\CommonTables.c ......

I just delete each .c file which sames as folder name from .\Sourse

Anyway,after i delect , i can compile !

By the way, i just do that ways which you put in your answer.

thank you very much!

View solution in original post

2 REPLIES 2

Hard to tell if that's linker or compiler errors, assuming linker

You shouldn't need to build the library from scratch, should use pre-built

STM32Cube_FW_F0_V1.11.3\Drivers\CMSIS\Lib\GCC\libarm_cortexM0l_math.a

Then use the example code.

Typically people build the library itself via command line make methods.

https://community.st.com/s/article/configuring-dsp-libraries-on-stm32cubeide

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
noob
Associate II

0693W00000KbZhnQAF.png​Thank to answer, I have solved this problem. I delete some files such as .\Source\BasicMathFunctions\BasicMathFunctions.c .\Source\CommonTables\CommonTables.c ......

I just delete each .c file which sames as folder name from .\Sourse

Anyway,after i delect , i can compile !

By the way, i just do that ways which you put in your answer.

thank you very much!