aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-19 12:40:39 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-09-19 12:40:39 +0000
commitf6f2c383bf53b3c8384e678c29e87afb9f6093b7 (patch)
tree44b15c28e9b8edf65d1887b582e92d0774b5be6a /os/hal/platforms
parent1fb5465e4331b256ff368d5d437c8068910e96ea (diff)
downloadChibiOS-f6f2c383bf53b3c8384e678c29e87afb9f6093b7.tar.gz
ChibiOS-f6f2c383bf53b3c8384e678c29e87afb9f6093b7.tar.bz2
ChibiOS-f6f2c383bf53b3c8384e678c29e87afb9f6093b7.zip
Yet another fix in ST headers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4697 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/STM32F2xx/stm32f2xx.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/os/hal/platforms/STM32F2xx/stm32f2xx.h b/os/hal/platforms/STM32F2xx/stm32f2xx.h
index 297e26997..f4506b2fe 100644
--- a/os/hal/platforms/STM32F2xx/stm32f2xx.h
+++ b/os/hal/platforms/STM32F2xx/stm32f2xx.h
@@ -4890,7 +4890,9 @@ typedef struct
#define RCC_AHB1RSTR_DMA1RST ((uint32_t)0x00200000)
#define RCC_AHB1RSTR_DMA2RST ((uint32_t)0x00400000)
#define RCC_AHB1RSTR_ETHMACRST ((uint32_t)0x02000000)
-#define RCC_AHB1RSTR_OTGHRST ((uint32_t)0x10000000)
+/* CHIBIOS FIX */
+/*#define RCC_AHB1RSTR_OTGHRST ((uint32_t)0x10000000)*/
+#define RCC_AHB1RSTR_OTGHSRST ((uint32_t)0x10000000)
/******************** Bit definition for RCC_AHB2RSTR register **************/
#define RCC_AHB2RSTR_DCMIRST ((uint32_t)0x00000001)
@@ -4898,8 +4900,7 @@ typedef struct
#define RCC_AHB2RSTR_HSAHRST ((uint32_t)0x00000020)
#define RCC_AHB2RSTR_RNGRST ((uint32_t)0x00000040)
/* CHIBIOS FIX */
-/*#define RCC_AHB1RSTR_OTGHRST ((uint32_t)0x10000000)*/
-#define RCC_AHB1RSTR_OTGHSRST ((uint32_t)0x10000000)
+#define RCC_AHB2RSTR_OTGFSRST ((uint32_t)0x00000080)
/******************** Bit definition for RCC_AHB3RSTR register **************/
#define RCC_AHB3RSTR_FSMCRST ((uint32_t)0x00000001)