From ff9bc27d92273bb5c0fb6fbe026567f25fe93fa3 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Mon, 28 Jul 2014 12:17:33 +0000 Subject: [PATCH] Fixed bug #519. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7105 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/STM32L1xx/stm32_isr.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/os/hal/ports/STM32/STM32L1xx/stm32_isr.h b/os/hal/ports/STM32/STM32L1xx/stm32_isr.h index 2645dab12..124e91043 100644 --- a/os/hal/ports/STM32/STM32L1xx/stm32_isr.h +++ b/os/hal/ports/STM32/STM32L1xx/stm32_isr.h @@ -33,6 +33,19 @@ * @name ISR names and numbers remapping * @{ */ +/* + * I2C units. + */ +#define STM32_I2C1_EVENT_HANDLER VectorBC +#define STM32_I2C1_ERROR_HANDLER VectorC0 +#define STM32_I2C1_EVENT_NUMBER 31 +#define STM32_I2C1_ERROR_NUMBER 32 + +#define STM32_I2C2_EVENT_HANDLER VectorC4 +#define STM32_I2C2_ERROR_HANDLER VectorC8 +#define STM32_I2C2_EVENT_NUMBER 33 +#define STM32_I2C2_ERROR_NUMBER 34 + /* * TIM units. */