GPIO, UART and interrupt example for the NXP LPC2378, NXP LPC2368 and other NXP LPC23xx/24xx devices
This code example demonstrates using the GNU-toolchain with the NXP LPC23xx/24xx family. It shows how to configure and use GPIO (i.e. LED blink, Button read), UART (buffered RX, interrupt) and timer-interrupts. and more. The basic C source-code is from the NXP example-collection (available from nxp.com) and has been adapted and extended a little bit. I have ported the startup assembler-code and added an interrupt-wrapper (incl. nesting) so porting of existing code for other toolchains is rather easy. Also included are scripts to upload the user-application to the internal flash with OpenOCD (testing).