How to use DSP in STM32G070?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-03-06 1:08 AM
I 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 !
Solved! Go to Solution.
- Labels:
-
DSP
-
STM32G0 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-03-06 7:36 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-03-06 5:53 AM
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
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2022-03-06 7:36 AM
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!
