Is cmsis lib missing source files?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
jonatan
Level 1
Level 1
10 sign-ins First like received 5 replies posted

Hi! I have added CMSIS library to my psoc 6 project in modus toolbox but there seems to be some missing files. For example: there is a header file: https://github.com/Infineon/cmsis/blob/master/COMPONENT_CMSIS_DSP/Include/dsp/filtering_functions.h

But no corresponding source file for function implementations, should be here or? : https://github.com/Infineon/cmsis/tree/master/COMPONENT_CMSIS_DSP/Source

 (compare this to the official CMSIS-DSP git repo that has a folder for FilteringFunctions here:   https://github.com/ARM-software/CMSIS-DSP/tree/main/Source )

 

0 Likes
1 Solution
ravo
Level 5
Level 5
10 likes received 5 comments on blog 5 solutions authored

Dear @jonatan the CMSIS using precompiled libraries in LIB file

if you would like to use you must put LDLIBS to your project makefile, see documentation for CMSIS DSP or this thread https://community.infineon.com/t5/PSoC-6/How-to-use-ARM-CMSIS-DSP-lib-in-ModusToolbox2-4/td-p/342494

modify makefile:

DSP_DIR=../CMSIS/CMSIS/
INCLUDES=$(DSP_DIR)/Include
VFP_SELECT=hardfp
LDLIBS=$(DSP_DIR)/Lib/GCC/libarm_cortexM4lf_math.a

Regards

Radim

Radim

View solution in original post

0 Likes
2 Replies
ravo
Level 5
Level 5
10 likes received 5 comments on blog 5 solutions authored

Dear @jonatan the CMSIS using precompiled libraries in LIB file

if you would like to use you must put LDLIBS to your project makefile, see documentation for CMSIS DSP or this thread https://community.infineon.com/t5/PSoC-6/How-to-use-ARM-CMSIS-DSP-lib-in-ModusToolbox2-4/td-p/342494

modify makefile:

DSP_DIR=../CMSIS/CMSIS/
INCLUDES=$(DSP_DIR)/Include
VFP_SELECT=hardfp
LDLIBS=$(DSP_DIR)/Lib/GCC/libarm_cortexM4lf_math.a

Regards

Radim

Radim

0 Likes
jonatan
Level 1
Level 1
10 sign-ins First like received 5 replies posted

Ok, thanks! 

So the CMSIS that is added as a lib in my modus project isn't enough to be able to use CMSIS-DSP then? Is there a reason why some of the CMSIS-DSP code is included and some not?

0 Likes