Content originally posted in LPCWare by mik84 on Fri May 21 02:50:20 MST 2010
Hi!
I have a question regarding, how easy (hard) is to port an existing code from LPC11xx device to an LPC13xx or LPC17xx and vice versa.
I'm asking this question, because currently I have the LPCxpresso bord with the LPC1343 chip, but later I most probably will move to the LPC17xx family as it has CAN bus.
In time I would like to use all the above mentioned families (of course in different applications), and it would be very good to know what are the limits of porting of code from one device to another.
I'm aware that the LPC11xx is a Cortex M0 device which has a smaller instruction set than the others. So from the core point of view it should be upward compatible. But are the peripherials also upward compatible?
For example LPC11xx peripherials, and programs written for these can be used in LPC13xx or 17xx?
And my second question is about moving from one compiler to another. How easy is it, what to pay attention?
thanks