aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F0xx
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2015-11-28 10:55:48 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2015-11-28 10:55:48 +0000
commit56cf40e555db653dc503afe4e750f23ef5cb66d6 (patch)
treec6784562e3034df9520dd1f070e2c82d03f5c9f6 /os/hal/ports/STM32/STM32F0xx
parent03f609e27c2dca200fce5b42f3a3467570e718bd (diff)
downloadChibiOS-56cf40e555db653dc503afe4e750f23ef5cb66d6.tar.gz
ChibiOS-56cf40e555db653dc503afe4e750f23ef5cb66d6.tar.bz2
ChibiOS-56cf40e555db653dc503afe4e750f23ef5cb66d6.zip
STM32 LPUART1 support added.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8539 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/STM32F0xx')
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_registry.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
index 9ed7d014e..c8baca553 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
@@ -241,6 +241,7 @@
#define STM32_HAS_USART6 FALSE
#define STM32_HAS_UART7 FALSE
#define STM32_HAS_UART8 FALSE
+#define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
#define STM32_HAS_USB FALSE
@@ -490,6 +491,7 @@
#define STM32_HAS_USART6 FALSE
#define STM32_HAS_UART7 FALSE
#define STM32_HAS_UART8 FALSE
+#define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
#if defined(STM32F072xB) || defined(STM32F078xx)
@@ -703,6 +705,7 @@
#define STM32_HAS_USART6 FALSE
#define STM32_HAS_UART7 FALSE
#define STM32_HAS_UART8 FALSE
+#define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
#define STM32_HAS_USB TRUE
@@ -901,6 +904,7 @@
#define STM32_HAS_USART6 FALSE
#define STM32_HAS_UART7 FALSE
#define STM32_HAS_UART8 FALSE
+#define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
#define STM32_HAS_USB FALSE
@@ -1102,6 +1106,7 @@
#define STM32_HAS_USART6 FALSE
#define STM32_HAS_UART7 FALSE
#define STM32_HAS_UART8 FALSE
+#define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
#define STM32_HAS_USB TRUE
@@ -1375,6 +1380,7 @@
#define STM32_HAS_UART7 FALSE
#define STM32_HAS_UART8 FALSE
+#define STM32_HAS_LPUART1 FALSE
#else
#define STM32_HAS_USART3 FALSE
#define STM32_HAS_UART4 FALSE
@@ -1382,6 +1388,7 @@
#define STM32_HAS_USART6 FALSE
#define STM32_HAS_UART7 FALSE
#define STM32_HAS_UART8 FALSE
+#define STM32_HAS_LPUART1 FALSE
#endif
/* USB attributes.*/
@@ -1619,6 +1626,7 @@
#define STM32_HAS_USART6 FALSE
#define STM32_HAS_UART7 FALSE
#define STM32_HAS_UART8 FALSE
+#define STM32_HAS_LPUART1 FALSE
/* USB attributes.*/
#define STM32_HAS_USB TRUE
@@ -1983,6 +1991,8 @@
STM32_DMA_STREAM_ID_MSK(2, 5))
#define STM32_UART8_TX_DMA_CHN 0x0F0FF0FF
+#define STM32_HAS_LPUART1 FALSE
+
/* USB attributes.*/
#define STM32_HAS_USB FALSE
#define STM32_HAS_OTG1 FALSE