aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F1xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-24 07:51:31 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-24 07:51:31 +0000
commit304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff (patch)
tree7b5c8e88698f773903be6556ea5a70d8629ff9f0 /os/hal/platforms/STM32F1xx
parentca6ab337feffdc0d6fddc492a91e55ebf197d4f5 (diff)
downloadChibiOS-304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff.tar.gz
ChibiOS-304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff.tar.bz2
ChibiOS-304e1a7f4fbac7e1ef19cf07744d3dd2abfe3aff.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4344 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F1xx')
-rw-r--r--os/hal/platforms/STM32F1xx/stm32_isr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F1xx/stm32_isr.h b/os/hal/platforms/STM32F1xx/stm32_isr.h
index c8c5d7fde..d9e634f0a 100644
--- a/os/hal/platforms/STM32F1xx/stm32_isr.h
+++ b/os/hal/platforms/STM32F1xx/stm32_isr.h
@@ -129,6 +129,15 @@
#define STM32_USART3_NUMBER USART3_IRQn
#define STM32_UART4_NUMBER UART4_IRQn
#define STM32_UART5_NUMBER UART5_IRQn
+
+/*
+ * USB units.
+ */
+#define STM32_USB1_HP_HANDLER Vector8C
+#define STM32_USB1_LP_HANDLER Vector90
+
+#define STM32_USB1_HP_NUMBER USB_HP_CAN1_TX_IRQn
+#define STM32_USB1_LP_NUMBER USB_LP_CAN1_RX0_IRQn
/** @} */
/*===========================================================================*/