I have developed product with Arduino. I need to port to MK22DX128VLK5. Code is using OLED Arduino library.

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

I have developed product with Arduino. I need to port to MK22DX128VLK5. Code is using OLED Arduino library.

2,148 Views
pmasanek1
Contributor I

Using Teensy 3.2, product works, but I need a third differential analog input. Is there a straight forward method to port arduino .ino and associated libraries to MCUXpresso, or other IDE. Converesly, is there a method to use the MK22DX128VLK5 in the Arduino environment?

Labels (1)
Tags (1)
0 Kudos
Reply
2 Replies

1,859 Views
BlackNight
NXP Employee
NXP Employee

The easiest way is to create a new project for your device in MCUXpresso IDE and then re-add your application sources.

You will need to port them to some extend as you won't keep that kind of C++ style of code: transform that into normal structs and functions in C.

The usage of the Arduino Wiring library can be replaced with calls to the MUCXpresso SDK. Or you can use Processor Expert if you like. I ported projects that way usually in less than a day, but that requies good knowledge of the Wiring library and the MCUXpresso SDK.

I hope this helps,

Erich

0 Kudos
Reply

1,541 Views
nilz
Contributor II

Hi,

I was hoping that a working video or an example of porting a simple project from Arduino to IM.X RT 1020 EVK would be beneficial to get a clear picture. Any help is greatly appreciated.

Regards,

Nilanjan

0 Kudos
Reply