diff options
Diffstat (limited to 'os/hal/platforms/STM32F2xx/stm32_isr.h')
-rw-r--r-- | os/hal/platforms/STM32F2xx/stm32_isr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F2xx/stm32_isr.h b/os/hal/platforms/STM32F2xx/stm32_isr.h index 18ead99e1..dc862f4de 100644 --- a/os/hal/platforms/STM32F2xx/stm32_isr.h +++ b/os/hal/platforms/STM32F2xx/stm32_isr.h @@ -59,9 +59,19 @@ #define STM32_CAN2_SCE_NUMBER CAN2_SCE_IRQn
/*
+ * OTG units.
+ */
+#define STM32_OTG1_HANDLER OTG_FS_IRQHandler
+#define STM32_OTG2_HANDLER OTG_HS_IRQHandler
+
+#define STM32_OTG1_NUMBER OTG_FS_IRQn
+#define STM32_OTG2_NUMBER OTG_HS_IRQn
+
+/*
* SDIO unit.
*/
#define STM32_SDIO_HANDLER SDIO_IRQHandler
+
#define STM32_SDIO_NUMBER SDIO_IRQn
/*
|