STMCubeIDE 1.6.1 and ARM CMSIS 5.7.0 (DSP)
- 6 replies
- 9751 views
Hello,
at the moment I try to make the DSP-Lib work, I’d like to switch to 5.6.0, but the IDE doesn’t let me “erase�? the package because it claims it is used. Ok, so tries to continue with it:
Step1: I activated it:
Step2: I set the Symbols:
__FPU_Present=1
ARM_MATH_CM4
CORE_CM4
Step3: Checking the Includes:
Here it starts getting interesting, I do not know why the CubeIDE added Core_A? Is that correct.
Step4: Copying all the files that are missing:
Not sure why ARM includes *.c-Files, anyway, I added all the *.c and *.h filed from the package I downloaded.
Step5: I include “arm_math.h�? in main.c and try to compile the project:
Here is the issue, I get ton’s of error-messages like this one:
c:\st\stm32cubeide_1.6.1\stm32cubeide\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.win32_1.5.0.202011040924\tools\arm-none-eabi\bin\ld.exe: Middlewares/Third_Party/ARM_CMSIS/CMSIS/DSP/Source/CommonTables/arm_common_tables.o:(.rodata.twiddleCoef_4096_q15+0x0): multiple definition of `twiddleCoef_4096_q15'; Middlewares/Third_Party/ARM_CMSIS/CMSIS/DSP/Source/CommonTables/CommonTables.o:(.rodata.twiddleCoef_4096_q15+0x0): first defined here
What am I doing wrong, did I miss a flag, or add files that should not have been added?
Thanks a lot.
Best Regards, Seppel


