How to copy one example from one SDK to my project in MCUXPRESSO?

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

How to copy one example from one SDK to my project in MCUXPRESSO?

1,452 次查看
ALP1
Contributor I

Hello 

 

How can I copy or import one example from one SDK to my project in MCUXPRESSO?

I generated my project based on FRDM-KL43Z and I want to import an example included in LPC55S16-EVK.

 

Thanks

0 项奖励
回复
3 回复数

1,438 次查看
ALP1
Contributor I

Hi ErichS

thanks for your answer. What I'm trying to do is to use an example generated for LPC55S16 in MKL43 microcontroller.

 

thanks

0 项奖励
回复

1,434 次查看
ErichStyger
Specialist I

Hi @ALP1 ,

that really depends on the example. The SDK between LPC and Kinetis is somewhat the same, but it is different because they are using completely different peripherals.

There is no automatic way doing this for you.

Erich

0 项奖励
回复

1,444 次查看
ErichStyger
Specialist I

Hi @ALP1 ,

not sure if your question is clear to me, but: importing examples works that way:

ErichS_0-1621519486353.png

 

If your question is how to use example code for the LPC55S16 then the answer is not simple: what I'm doing is using the McuLib which is based on the SDK and allows me to use code for Kinetis, LPC and i.MX (and others). You see an example for this here: https://mcuoneclipse.com/2021/05/15/using-fatfs-and-minini-with-the-nxp-lpc55s16-evk/

Otherwise: it really depends what you need. You might have a look at the https://www.utasker.com/index.html project which provides a cross-device platform and framework.

I hope this helps,

Erich

0 项奖励
回复