From 220341765d0934143787dcdf0dfa40577059f884 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 3 Apr 2010 12:17:37 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1837 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/LPC111x/pal_lld.h | 4 ++++ os/hal/platforms/LPC111x/serial_lld.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'os/hal/platforms') diff --git a/os/hal/platforms/LPC111x/pal_lld.h b/os/hal/platforms/LPC111x/pal_lld.h index 23b93ac50..8b871721d 100644 --- a/os/hal/platforms/LPC111x/pal_lld.h +++ b/os/hal/platforms/LPC111x/pal_lld.h @@ -105,21 +105,25 @@ typedef LPC_GPIO_TypeDef *ioportid_t; * @brief GPIO0 port identifier. */ #define IOPORT1 LPC_GPIO0 +#define GPIO0 LPC_GPIO0 /** * @brief GPIO1 port identifier. */ #define IOPORT2 LPC_GPIO1 +#define GPIO1 LPC_GPIO1 /** * @brief GPIO2 port identifier. */ #define IOPORT3 LPC_GPIO2 +#define GPIO2 LPC_GPIO2 /** * @brief GPIO3 port identifier. */ #define IOPORT4 LPC_GPIO3 +#define GPIO3 LPC_GPIO3 /*===========================================================================*/ /* Implementation, some of the following macros could be implemented as */ diff --git a/os/hal/platforms/LPC111x/serial_lld.c b/os/hal/platforms/LPC111x/serial_lld.c index f3e7d5e31..369b543b3 100644 --- a/os/hal/platforms/LPC111x/serial_lld.c +++ b/os/hal/platforms/LPC111x/serial_lld.c @@ -211,7 +211,7 @@ static void notify1(void) { * @brief UART0 IRQ handler. */ #if USE_LPC111x_UART0 || defined(__DOXYGEN__) -CH_IRQ_HANDLER(UART0IrqHandler) { +CH_IRQ_HANDLER(Vector94) { CH_IRQ_PROLOGUE(); -- cgit v1.2.3