lpcware

Drivers for LPC11xx ???

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Pacman on Fri Apr 04 11:34:48 MST 2014
I have 3 LPC1114/302, but I am having trouble compiling just a simple LED-blinker for them.
I did succeed in compiling+flashing LPC1342 and LPC812 yesterday, but the LPC1114 gives me trouble.

I've downloaded LPCOpen for lpc11uxx and have tried the following #defines, but most of them throws errors at me:


#define CHIP_LPC11XXLV
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:55:26: fatal error: cmsis_11lvxx.h: No such file or directory[/color]


#define CHIP_LPC1125/* does not work */
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:40:24: fatal error: cmsis_1125.h: No such file or directory[/color]


#define CHIP_LPC110x
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:58:2: error: #error "No CHIP_* definition is defined"[/color]


#define CHIP_LPC11CXX
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:46:25: fatal error: cmsis_11cxx.h: No such file or directory[/color]


#define CHIP_LPC11UXX
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/chip.h:248:25: fatal error: gpio_11xx_2.h: No such file or directory[/color]


#define CHIP_LPC11EXX
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:49:25: fatal error: cmsis_11exx.h: No such file or directory[/color]


#define CHIP_LPC11AXX
[color=#c00]/Users/jens/Library/uCode/libraries/lpc11uxx/inc/cmsis.h:43:25: fatal error: cmsis_11axx.h: No such file or directory[/color]


It seems to me that none of the possible configurations will build.

To me it's not clear at all which configuration to use for the LPC1110-1115.
As I came to the conclusion that the LPC1125 might be the closest to the LPC1114, where do I get the appropriate files for this ?

How/where do I get the cmsis_*.h files needed for the different chips ?
-Shouldn't they be included with the archive ?

If any other kind of drivers/CMSIS exists for the LPC1114, I would be very interested.

Outcomes