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

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

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

1,441 Views
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 Kudos
Reply
3 Replies

1,427 Views
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 Kudos
Reply

1,423 Views
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 Kudos
Reply

1,433 Views
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 Kudos
Reply