diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/LPC111x/pal_lld.h | 4 | ||||
-rw-r--r-- | os/hal/platforms/LPC111x/serial_lld.c | 2 |
2 files changed, 5 insertions, 1 deletions
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();
|