diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-12 16:55:13 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-12 16:55:13 +0000 |
commit | 782415628b7da8871b1ab0d6adfcd0ec325cf485 (patch) | |
tree | 939bb55430dea5b1036eaf5a4396b8042f1f374e /demos/ARMCM4-STM32F303-DISCOVERY | |
parent | 60c6d531d4b6b5c5d3d78c4337d267d3fe315c7c (diff) | |
download | ChibiOS-782415628b7da8871b1ab0d6adfcd0ec325cf485.tar.gz ChibiOS-782415628b7da8871b1ab0d6adfcd0ec325cf485.tar.bz2 ChibiOS-782415628b7da8871b1ab0d6adfcd0ec325cf485.zip |
Ported UART.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6146 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM4-STM32F303-DISCOVERY')
-rw-r--r-- | demos/ARMCM4-STM32F303-DISCOVERY/halconf.h | 2 | ||||
-rw-r--r-- | demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/halconf.h b/demos/ARMCM4-STM32F303-DISCOVERY/halconf.h index 72b9ac1e2..21836f994 100644 --- a/demos/ARMCM4-STM32F303-DISCOVERY/halconf.h +++ b/demos/ARMCM4-STM32F303-DISCOVERY/halconf.h @@ -139,7 +139,7 @@ * @brief Enables the UART subsystem.
*/
#if !defined(HAL_USE_UART) || defined(__DOXYGEN__)
-#define HAL_USE_UART FALSE
+#define HAL_USE_UART TRUE
#endif
/**
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h b/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h index c9a28e5a5..548b1e8dd 100644 --- a/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h +++ b/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h @@ -167,8 +167,8 @@ #define STM32_SERIAL_USE_USART1 TRUE
#define STM32_SERIAL_USE_USART2 FALSE
#define STM32_SERIAL_USE_USART3 FALSE
-#define STM32_SERIAL_USE_UART4 FALSE
-#define STM32_SERIAL_USE_UART5 FALSE
+#define STM32_SERIAL_USE_UART4 TRUE
+#define STM32_SERIAL_USE_UART5 TRUE
#define STM32_SERIAL_USART1_PRIORITY 12
#define STM32_SERIAL_USART2_PRIORITY 12
#define STM32_SERIAL_USART3_PRIORITY 12
@@ -193,8 +193,8 @@ * UART driver system settings.
*/
#define STM32_UART_USE_USART1 FALSE
-#define STM32_UART_USE_USART2 FALSE
-#define STM32_UART_USE_USART3 FALSE
+#define STM32_UART_USE_USART2 TRUE
+#define STM32_UART_USE_USART3 TRUE
#define STM32_UART_USART1_IRQ_PRIORITY 12
#define STM32_UART_USART2_IRQ_PRIORITY 12
#define STM32_UART_USART3_IRQ_PRIORITY 12
|