From 45ae30f505f5d81c50dab612ed9ecf6efd7b82e5 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sun, 19 Aug 2012 12:22:32 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4586 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32F4xx/stm32_isr.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'os/hal/platforms/STM32F4xx') diff --git a/os/hal/platforms/STM32F4xx/stm32_isr.h b/os/hal/platforms/STM32F4xx/stm32_isr.h index 383660551..2128cf668 100644 --- a/os/hal/platforms/STM32F4xx/stm32_isr.h +++ b/os/hal/platforms/STM32F4xx/stm32_isr.h @@ -61,11 +61,15 @@ /* * OTG units. */ -#define STM32_OTG1_HANDLER OTG_FS_IRQHandler -#define STM32_OTG2_HANDLER OTG_HS_IRQHandler +#define STM32_OTG1_HANDLER Vector14C +#define STM32_OTG2_HANDLER Vector174 +#define STM32_OTG2_EP1OUT_HANDLER Vector168 +#define STM32_OTG2_EP1IN_HANDLER Vector16C #define STM32_OTG1_NUMBER OTG_FS_IRQn #define STM32_OTG2_NUMBER OTG_HS_IRQn +#define STM32_OTG2_EP1OUT_NUMBER OTG_HS_EP1_OUT_IRQn +#define STM32_OTG2_EP1IN_NUMBER OTG_HS_EP1_IN_IRQn /* * SDIO unit. -- cgit v1.2.3