aboutsummaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-01 17:24:12 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-05-01 17:24:12 +0000
commite916f7d7bf83960a007a4ced5387f375198a868a (patch)
tree9623ea5ab1641459f77430fd20dcb8d7349acc2e /boards
parent82b9e1cf4c0de6be44e273f3e49c3efbd0895d3f (diff)
downloadChibiOS-e916f7d7bf83960a007a4ced5387f375198a868a.tar.gz
ChibiOS-e916f7d7bf83960a007a4ced5387f375198a868a.tar.bz2
ChibiOS-e916f7d7bf83960a007a4ced5387f375198a868a.zip
Fixed board files for Olimex STM32-H102 and STM32-P107.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2912 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards')
-rw-r--r--boards/OLIMEX_STM32_H103/board.h2
-rw-r--r--boards/OLIMEX_STM32_P107/board.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/boards/OLIMEX_STM32_H103/board.h b/boards/OLIMEX_STM32_H103/board.h
index af25d7cae..9bd3625e1 100644
--- a/boards/OLIMEX_STM32_H103/board.h
+++ b/boards/OLIMEX_STM32_H103/board.h
@@ -47,7 +47,7 @@
*/
#define GPIOA_BUTTON 0
-#define GPIOC_DISC 11
+#define GPIOC_USB_DISC 11
#define GPIOC_LED 12
/*
diff --git a/boards/OLIMEX_STM32_P107/board.h b/boards/OLIMEX_STM32_P107/board.h
index 968721fbd..373123880 100644
--- a/boards/OLIMEX_STM32_P107/board.h
+++ b/boards/OLIMEX_STM32_P107/board.h
@@ -82,9 +82,9 @@
* PA1 - Normal input (ETH_RMII_REF_CLK).
* PA2 - Alternate output (ETH_RMII_MDIO).
* PA3 - Input with PU (unconnected).
- * PA4 - Normal input (MMC, external pull down).
- * PA5 - Normal input (MMC, external pull up).
- * PA6 - Normal input (MMC, external pull up).
+ * PA4 - Push Pull output (CS_MMC).
+ * PA5 - Input with PU (unconnected).
+ * PA6 - Input with PU (unconnected).
* PA7 - Normal input (ETH_RMII_CRS_DV).
* PA8 - Alternate output (MCO).
* PA9 - Normal input (OTG_VBUS).
@@ -95,7 +95,7 @@
* PA14 - Normal input (TCK).
* PA15 - Normal input (TDI).
*/
-#define VAL_GPIOACRL 0x44448B44 /* PA7...PA0 */
+#define VAL_GPIOACRL 0x48838B44 /* PA7...PA0 */
#define VAL_GPIOACRH 0x4444444B /* PA15...PA8 */
#define VAL_GPIOAODR 0xFFFFFFFF
@@ -106,7 +106,7 @@
* PB2 - Normal input (BOOT1).
* PB3 - Normal input (TDO).
* PB4 - Normal input (TRST).
- * PB5 - Normal input (MMC, external pull up).
+ * PB5 - Input with PU (unconnected).
* PB6 - Input with PU (unconnected).
* PB7 - Input with PU (unconnected).
* PB8 - Alternate O.D. (I2C1 SCL, remapped).