LPC1768 demo for Codesourcery GNU C complier

aukcspore wrote on Tuesday, March 02, 2010:

Hi,

I am new to LPC1768 and FreeRtos.  I found demo programs for LPC1768 for GCC Red Suite.  I can’t find the makefile in GCC Red Suite example.  Is there any example for LPC1768 that uses a makefile?  I would like to learn how to setup the compliler flags and options.  I am using Sourcery G++ Lite Edition compiler.

Any suggestions would be greatly appreciated.

Thanks in advance.
KC

davedoors wrote on Tuesday, March 02, 2010:

Look in one of the FreeRTOS/demo/CORTEX_LM3Sxxx_GCC directories. I think you will find makefiles there. The linker script will need changing, but everything else should be the same, I think.

aukcspore wrote on Thursday, March 04, 2010:

Thanks for the idea.

I found something here which has the LPC1768 for the code red suite converted to eclipse and it has the makefile in it.
http://ics.nxp.com/support/documents/microcontrollers/?type=software&scope=LPC17xx&search=CMSIS

Check this out if you are also looking for the LPC1768 example  that uses a makefile.