**** Advance Notice ****

This site will be closed on 31 December 2015,

Important Information for users of NXP LPCXpresso

This site is for users of Code Red branded products.

NXP LPCXpresso users should visit the LPCXpresso FAQ's for up-to-date information relevant to that product.

Differences between revisions 2 and 3
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from PortingCodeOtherToolcahins

Porting Code from other toolchains

Generally where example code is provided for another toolchain it will normally port across to the Code Red IDE fairly easily. Simply create a new project within the Code Red IDE, then copy the required source files across.

A few things to watch:

  • Sometimes, depending upon the original project, you may need to produce your own linker script, rather than use the default, managed linker script created automatically by the Code Red IDE. Details of how to go about doing this can be found in the FAQ Using your own linker scripts.

  • There are sometimes slight changes required to sources due to "extensions to the C language" used by source code. A typical example is how packed structures are written. More details in the FAQ Packed Structures.

  • Some NXP example code targeted at other toolchains (in the past at least) has used an older version of CMSIS than the Code Red IDE CMSIS library projects make use of. This can occasionally mean that slight code changes are required (or you can simply use the older sources provided by the example rather than the Code Red CMSIS library projects). More information on CMSIS in the Code Red IDE in the FAQ Support for CMSIS.

PortingCodeOtherToolchains (last edited 2012-12-18 09:22:03 by DerekMorris)