Kinetis design studio arm_math libary problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Kinetis design studio arm_math libary problem

跳至解决方案
5,594 次查看
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

标签 (1)
标记 (1)
0 项奖励
回复
1 解答
5,380 次查看
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 项奖励
回复
5 回复数
5,380 次查看
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 项奖励
回复
5,380 次查看
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 项奖励
回复
5,380 次查看
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 项奖励
回复
5,381 次查看
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 项奖励
回复
5,380 次查看
FelipeGarcia
NXP Employee
NXP Employee

Hi David,

I am glad you find the solution.

Thanks for letting us know.

Best regards,

Felipe

0 项奖励
回复