chipKIT® Development Platform

Inspired by Arduino™

Porting Arduino Libraries

Created Sun, 15 Dec 2013 17:49:45 +0000 by Richsand1234


Richsand1234

Sun, 15 Dec 2013 17:49:45 +0000

Can anyone recommend a good guide for library porting to chipkit UNO from arduino?


Jacob Christ

Thu, 19 Dec 2013 18:00:42 +0000

Here are a couple of good links on the subject:

http://chipkit.net/tips-porting-arduino-libraries/

http://chipkit.net/programming-hints/

The hardest part is if an Uno library make direct calls to the registers on the atmel chip.

Here is an example of a library that I ported from Uno to Uno32 that uses these ideas and should still maintain Uno functionality (though I did not test):

https://github.com/JacobChrist/USB_Host_Shield/tree/chipKIT-dev

Jacob