diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-03-03 10:59:32 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-03-03 10:59:32 +0000 |
commit | 71f5e32cd81a3405f622cb4c9c2e6c0302a2a97f (patch) | |
tree | e43074469785aae26ed80ae14cf7c57cce3c25bd /os | |
parent | dc1bec7a6e566a9547efe9e0dabdff560023629a (diff) | |
download | ChibiOS-71f5e32cd81a3405f622cb4c9c2e6c0302a2a97f.tar.gz ChibiOS-71f5e32cd81a3405f622cb4c9c2e6c0302a2a97f.tar.bz2 ChibiOS-71f5e32cd81a3405f622cb4c9c2e6c0302a2a97f.zip |
Fixed bug in the STM32F2 ST header.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4013 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32F2xx/stm32f2xx.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32F2xx/stm32f2xx.h b/os/hal/platforms/STM32F2xx/stm32f2xx.h index 5c6e27d76..6409ba1bb 100644 --- a/os/hal/platforms/STM32F2xx/stm32f2xx.h +++ b/os/hal/platforms/STM32F2xx/stm32f2xx.h @@ -5707,7 +5707,11 @@ typedef struct #define SYSCFG_MEMRMP_MEM_MODE_1 ((uint32_t)0x00000002)
/****************** Bit definition for SYSCFG_PMC register ******************/
-#define SYSCFG_PMC_MII_RMII ((uint16_t)0x0080) /*!<Ethernet PHY interface selection */
+/* CHIBIOS FIX */
+#define SYSCFG_PMC_MII_RMII_SEL ((uint32_t)0x00800000) /*!<Ethernet PHY interface selection */
+/* Old MII_RMII_SEL bit definition, maintained for legacy purpose */
+#define SYSCFG_PMC_MII_RMII SYSCFG_PMC_MII_RMII_SEL
+/*#define SYSCFG_PMC_MII_RMII ((uint16_t)0x0080)*/ /*!<Ethernet PHY interface selection */
/***************** Bit definition for SYSCFG_EXTICR1 register ***************/
#define SYSCFG_EXTICR1_EXTI0 ((uint16_t)0x000F) /*!<EXTI 0 configuration */
|