-
Notifications
You must be signed in to change notification settings - Fork 1k
Add CMSIS DSP support as built-in library #685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hi @fpistm, |
How did you test this PR? |
yes i'm testing this PR. Download it and put in place |
On top of the repo or of the 1.7.0? |
I had installed stm32duino via arduino IDE. |
Well in that case I don't know why it does not work. |
Ouch my bad!! :-( wrong board selected. Code compiled succesfully! i'm gonna test the FFT in minutes |
So is it ok now? |
To use it, add: #include <CMSIS_DSP.h> Fixes stm32duino#682 Signed-off-by: Frederic Pillon <[email protected]>
Update one with floating point unit (FPU) enabled Note: for cortex-M7, single precision (sp) is used. Signed-off-by: Frederic Pillon <[email protected]>
Hi. all Check compiler.arm.cmsis.c.flags into the platform.txt so I add DSP related location. compiler.arm.cmsis.c.flags="-I{runtime.tools.CMSIS-5.5.1.path}/CMSIS/Core/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Include/" "-I{build.system.path}/Drivers/CMSIS/Device/ST/{build.series}/Source/Templates/gcc/" stm32duino 1.7.0 noew I'm using. Happy coding |
@yglim |
To use it, add:
#include <CMSIS_DSP.h>
arm_math.h
is then automatically include.Fixes #682
Wiki:
https://github.com/stm32duino/wiki/wiki/API#cmsis-dsp