diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-04 15:02:49 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-04 15:02:49 +0000 |
commit | d65e5e6b0d687a87abfad5f92a27e5920314f0fa (patch) | |
tree | 34546c2c049abf7609b4d94ff0396cb2bc188a98 /demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h | |
parent | 1374037cdcc0ec26be0507aa0886624746ed52ae (diff) | |
download | ChibiOS-d65e5e6b0d687a87abfad5f92a27e5920314f0fa.tar.gz ChibiOS-d65e5e6b0d687a87abfad5f92a27e5920314f0fa.tar.bz2 ChibiOS-d65e5e6b0d687a87abfad5f92a27e5920314f0fa.zip |
Serial support for STM32F3xx.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4871 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h')
-rw-r--r-- | demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h b/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h index df98fd919..1b0d1243e 100644 --- a/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h +++ b/demos/ARMCM4-STM32F303-DISCOVERY/mcuconf.h @@ -66,3 +66,17 @@ #define STM32_RTCSEL STM32_RTCSEL_LSI
#define STM32_USB_CLOCK_REQUIRED TRUE
#define STM32_USBPRE STM32_USBPRE_DIV1P5
+
+/*
+ * SERIAL driver system settings.
+ */
+#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_USART1_PRIORITY 12
+#define STM32_SERIAL_USART2_PRIORITY 12
+#define STM32_SERIAL_USART3_PRIORITY 12
+#define STM32_SERIAL_UART4_PRIORITY 12
+#define STM32_SERIAL_UART5_PRIORITY 12
|