diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-04-03 12:17:37 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-04-03 12:17:37 +0000 |
commit | 220341765d0934143787dcdf0dfa40577059f884 (patch) | |
tree | 692e55d7af9d5aaeeab26e64480bdfde2e2a4c88 /os/hal/platforms | |
parent | 7fa66fc81d60bc00a35ab0643b268cd9874b53ad (diff) | |
download | ChibiOS-220341765d0934143787dcdf0dfa40577059f884.tar.gz ChibiOS-220341765d0934143787dcdf0dfa40577059f884.tar.bz2 ChibiOS-220341765d0934143787dcdf0dfa40577059f884.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1837 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-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();
|