Kinetis design studio arm_math libary problem

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

Kinetis design studio arm_math libary problem

Jump to solution
5,575 Views
s-dwalln
Contributor II

Hey there,

I have to use the Kinetis Design studio for programming, because I use the MK10 MCU.

Before I used MCUxpresso and i didn't have the problem there. Also in other IDE's I never had this problem.

I have to use the arm_math libary to use the DSP FFT.

But I can't get the libary working. Everytime the IDE says, it can't find the the libary.

Is the libary not supported? I tried it in windows, macos and linux.

I do something wrong.. but I don't find the solution...

I attached some pictures of the configuration. The libary and and include files are located in the project folder. I defined the libary and set the link to the libarys. But the compiler doesn't find it.

Does anybody have a clue?

Thanks in advance

Labels (1)
Tags (1)
0 Kudos
Reply
1 Solution
5,361 Views
s-dwalln
Contributor II

Hi Felipe

I already know this tutorial. I already used this libary several times.

But I finally got it working. Like I thought there is a problem with the newest CMSIS driver and KDS.

I downloaded the Legacy CMSIS version 4.5.... and Hey, now it works perfectly.

Case closed.

Thanks and regards

David

View solution in original post

0 Kudos
Reply
5 Replies
5,361 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi David,

 

The library name is without the 'lib' prefix and without the '.a' suffix. In this case you should add the library as:

arm_cortexM4l_math

 

Hope it helps!

 

Regards,

Felipe

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

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply
5,361 Views
s-dwalln
Contributor II

Thanks for the answer!

Sadly it doesn't change anything. I also tried that before.

But i just realized. that i get another failure code this time:

/CMSIS/DSP/Lib/GCC/libarm_cortexM4lf_math.a: file format not recognized; treating as linker script

/CMSIS/DSP/Lib/GCC/libarm_cortexM4lf_math.a:1: syntax error

I used the newest CMSIS (CMSIS_5-5.5.1) driver from ARM. Is it possible, that KDS doesn't work with this version? Or maybe there is a bug in the libary.

0 Kudos
Reply
5,361 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi David,

Please try using the below tutorial.

https://mcuoneclipse.com/2013/02/14/tutorial-using-the-arm-cmsis-library/

Let me know if this helps.

Best regards,

Felipe

0 Kudos
Reply
5,362 Views
s-dwalln
Contributor II

Hi Felipe

I already know this tutorial. I already used this libary several times.

But I finally got it working. Like I thought there is a problem with the newest CMSIS driver and KDS.

I downloaded the Legacy CMSIS version 4.5.... and Hey, now it works perfectly.

Case closed.

Thanks and regards

David

0 Kudos
Reply
5,361 Views
FelipeGarcia
NXP Employee
NXP Employee

Hi David,

I am glad you find the solution.

Thanks for letting us know.

Best regards,

Felipe

0 Kudos
Reply