diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-23 18:32:02 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-01-23 18:32:02 +0000 |
commit | edc56330a91f1f646d8b78ead8a89c46a5d841e6 (patch) | |
tree | b41391451de8eae9eb9d659cfe512b2ddefc7a3c /demos/ARMCM3-STM32F103-FATFS-GCC | |
parent | 461b44091f45dd6fded72222f08ba2fd652cffd3 (diff) | |
download | ChibiOS-edc56330a91f1f646d8b78ead8a89c46a5d841e6.tar.gz ChibiOS-edc56330a91f1f646d8b78ead8a89c46a5d841e6.tar.bz2 ChibiOS-edc56330a91f1f646d8b78ead8a89c46a5d841e6.zip |
Merged Egon's patch.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1542 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ARMCM3-STM32F103-FATFS-GCC')
-rw-r--r-- | demos/ARMCM3-STM32F103-FATFS-GCC/mcuconf.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/demos/ARMCM3-STM32F103-FATFS-GCC/mcuconf.h b/demos/ARMCM3-STM32F103-FATFS-GCC/mcuconf.h index 568dffb11..988e6b79d 100644 --- a/demos/ARMCM3-STM32F103-FATFS-GCC/mcuconf.h +++ b/demos/ARMCM3-STM32F103-FATFS-GCC/mcuconf.h @@ -66,9 +66,17 @@ #define USE_STM32_USART1 FALSE
#define USE_STM32_USART2 TRUE
#define USE_STM32_USART3 FALSE
+#if defined(STM32F10X_HD) || defined(STM32F10X_CL)
+#define USE_STM32_UART4 FALSE
+#define USE_STM32_UART5 FALSE
+#endif
#define STM32_USART1_PRIORITY 0xC0
#define STM32_USART2_PRIORITY 0xC0
#define STM32_USART3_PRIORITY 0xC0
+#if defined(STM32F10X_HD) || defined(STM32F10X_CL)
+#define STM32_UART4_PRIORITY 0xC0
+#define STM32_UART5_PRIORITY 0xC0
+#endif
/*
* SPI driver system settings.
|