aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/STM32F0xx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-24 06:04:16 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-06-24 06:04:16 +0000
commit175612822f76d4e0d8b8ab354678e9767ec40214 (patch)
tree3c4f9917c15233f6abcf7e27e0bee12dba849fa0 /os/hal/platforms/STM32F0xx
parentb6cf9884d1456d3602a5f8563131b4e9c8a9b44b (diff)
downloadChibiOS-175612822f76d4e0d8b8ab354678e9767ec40214.tar.gz
ChibiOS-175612822f76d4e0d8b8ab354678e9767ec40214.tar.bz2
ChibiOS-175612822f76d4e0d8b8ab354678e9767ec40214.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4339 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM32F0xx')
-rw-r--r--os/hal/platforms/STM32F0xx/stm32_isr.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F0xx/stm32_isr.h b/os/hal/platforms/STM32F0xx/stm32_isr.h
index a62fbc3cc..643092844 100644
--- a/os/hal/platforms/STM32F0xx/stm32_isr.h
+++ b/os/hal/platforms/STM32F0xx/stm32_isr.h
@@ -49,6 +49,15 @@
#define STM32_TIM1_CC_NUMBER TIM1_CC_IRQn
#define STM32_TIM2_NUMBER TIM2_IRQn
#define STM32_TIM3_NUMBER TIM3_IRQn
+
+/*
+ * USART units.
+ */
+#define STM32_USART1_HANDLER USART1_IRQHandler
+#define STM32_USART2_HANDLER USART2_IRQHandler
+
+#define STM32_USART1_NUMBER USART1_IRQn
+#define STM32_USART2_NUMBER USART2_IRQn
/** @} */
/*===========================================================================*/