diff options
Diffstat (limited to 'os/hal/platforms/STM32F1xx/hal_lld.h')
-rw-r--r-- | os/hal/platforms/STM32F1xx/hal_lld.h | 35 |
1 files changed, 28 insertions, 7 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld.h b/os/hal/platforms/STM32F1xx/hal_lld.h index 659fd3fb1..da9e610fd 100644 --- a/os/hal/platforms/STM32F1xx/hal_lld.h +++ b/os/hal/platforms/STM32F1xx/hal_lld.h @@ -82,6 +82,8 @@ #define STM32_HAS_ETH FALSE
+#define STM32_EXTI_NUM_CHANNELS 19
+
#define STM32_HAS_GPIOA TRUE
#define STM32_HAS_GPIOB TRUE
#define STM32_HAS_GPIOC TRUE
@@ -123,8 +125,9 @@ #define STM32_HAS_USART1 TRUE
#define STM32_HAS_USART2 TRUE
#define STM32_HAS_USART3 FALSE
-#define STM32_HAS_UART3 FALSE
#define STM32_HAS_UART4 FALSE
+#define STM32_HAS_UART5 FALSE
+#define STM32_HAS_USART6 FALSE
#define STM32_HAS_USB FALSE
#define STM32_HAS_OTG1 FALSE
@@ -150,6 +153,8 @@ #define STM32_HAS_ETH FALSE
+#define STM32_EXTI_NUM_CHANNELS 19
+
#define STM32_HAS_GPIOA TRUE
#define STM32_HAS_GPIOB TRUE
#define STM32_HAS_GPIOC TRUE
@@ -191,8 +196,9 @@ #define STM32_HAS_USART1 TRUE
#define STM32_HAS_USART2 TRUE
#define STM32_HAS_USART3 TRUE
-#define STM32_HAS_UART3 FALSE
#define STM32_HAS_UART4 FALSE
+#define STM32_HAS_UART5 FALSE
+#define STM32_HAS_USART6 FALSE
#define STM32_HAS_USB FALSE
#define STM32_HAS_OTG1 FALSE
@@ -218,6 +224,8 @@ #define STM32_HAS_ETH FALSE
+#define STM32_EXTI_NUM_CHANNELS 19
+
#define STM32_HAS_GPIOA TRUE
#define STM32_HAS_GPIOB TRUE
#define STM32_HAS_GPIOC TRUE
@@ -259,8 +267,9 @@ #define STM32_HAS_USART1 TRUE
#define STM32_HAS_USART2 TRUE
#define STM32_HAS_USART3 FALSE
-#define STM32_HAS_UART3 FALSE
#define STM32_HAS_UART4 FALSE
+#define STM32_HAS_UART5 FALSE
+#define STM32_HAS_USART6 FALSE
#define STM32_HAS_USB FALSE
#define STM32_HAS_OTG1 FALSE
@@ -286,6 +295,8 @@ #define STM32_HAS_ETH FALSE
+#define STM32_EXTI_NUM_CHANNELS 19
+
#define STM32_HAS_GPIOA TRUE
#define STM32_HAS_GPIOB TRUE
#define STM32_HAS_GPIOC TRUE
@@ -327,8 +338,9 @@ #define STM32_HAS_USART1 TRUE
#define STM32_HAS_USART2 TRUE
#define STM32_HAS_USART3 TRUE
-#define STM32_HAS_UART3 FALSE
#define STM32_HAS_UART4 FALSE
+#define STM32_HAS_UART5 FALSE
+#define STM32_HAS_USART6 FALSE
#define STM32_HAS_USB TRUE
#define STM32_HAS_OTG1 FALSE
@@ -354,6 +366,8 @@ #define STM32_HAS_ETH FALSE
+#define STM32_EXTI_NUM_CHANNELS 19
+
#define STM32_HAS_GPIOA TRUE
#define STM32_HAS_GPIOB TRUE
#define STM32_HAS_GPIOC TRUE
@@ -395,8 +409,9 @@ #define STM32_HAS_USART1 TRUE
#define STM32_HAS_USART2 TRUE
#define STM32_HAS_USART3 TRUE
-#define STM32_HAS_UART3 TRUE
#define STM32_HAS_UART4 TRUE
+#define STM32_HAS_UART5 TRUE
+#define STM32_HAS_USART6 FALSE
#define STM32_HAS_USB TRUE
#define STM32_HAS_OTG1 FALSE
@@ -422,6 +437,8 @@ #define STM32_HAS_ETH FALSE
+#define STM32_EXTI_NUM_CHANNELS 19
+
#define STM32_HAS_GPIOA TRUE
#define STM32_HAS_GPIOB TRUE
#define STM32_HAS_GPIOC TRUE
@@ -463,8 +480,9 @@ #define STM32_HAS_USART1 TRUE
#define STM32_HAS_USART2 TRUE
#define STM32_HAS_USART3 TRUE
-#define STM32_HAS_UART3 TRUE
#define STM32_HAS_UART4 TRUE
+#define STM32_HAS_UART5 TRUE
+#define STM32_HAS_USART6 FALSE
#define STM32_HAS_USB TRUE
#define STM32_HAS_OTG1 FALSE
@@ -490,6 +508,8 @@ #define STM32_HAS_ETH TRUE
+#define STM32_EXTI_NUM_CHANNELS 20
+
#define STM32_HAS_GPIOA TRUE
#define STM32_HAS_GPIOB TRUE
#define STM32_HAS_GPIOC TRUE
@@ -531,8 +551,9 @@ #define STM32_HAS_USART1 TRUE
#define STM32_HAS_USART2 TRUE
#define STM32_HAS_USART3 TRUE
-#define STM32_HAS_UART3 TRUE
#define STM32_HAS_UART4 TRUE
+#define STM32_HAS_UART5 TRUE
+#define STM32_HAS_USART6 FALSE
#define STM32_HAS_USB FALSE
#define STM32_HAS_OTG1 TRUE
|