Link DSP Library

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Link DSP Library

Jump to solution
1,033 Views
2541162274
Contributor II
Hello! I added the DSP library according to the Moth link,Using CMSIS-DSP with MCUXpresso SDK and IDE 
 but there was such a problem in the build variables:
 I didn't see the result added in the previous step in the setting librarise, 
and I still get an error if I manually add the following compilation. 
See the figure below for details.
pastedImage_1.png

pastedImage_2.png

pastedImage_3.png

pastedImage_5.png


If I add the library manually, there will be many errors in the build.

pastedImage_6.png

Labels (1)
0 Kudos
1 Solution
789 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Jason William,

Yes, you need add the lib manually.

 In the "Value" of Define a new build variable, please add  C:\FRDM-K64\CMSIS .

 In the Add libraries :

Libraries(-l) :   arm_cortexM4lf_math

Library search path(-L) :   "${SDK_2.2_frdm-k64f_CMSIS_PATH }\Lib\GCC"

I test on my side , it can work well.

Hope it helps,

  


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
790 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Jason William,

Yes, you need add the lib manually.

 In the "Value" of Define a new build variable, please add  C:\FRDM-K64\CMSIS .

 In the Add libraries :

Libraries(-l) :   arm_cortexM4lf_math

Library search path(-L) :   "${SDK_2.2_frdm-k64f_CMSIS_PATH }\Lib\GCC"

I test on my side , it can work well.

Hope it helps,

  


Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos