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,438件の閲覧回数
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,424件の閲覧回数
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,420件の閲覧回数
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,430件の閲覧回数
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 件の賞賛
返信