aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM8L_DISCOVERY/board.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-13 08:59:15 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-13 08:59:15 +0000
commitbe60d348aa1f67e1c9a4667aa996318c1a43067f (patch)
tree1daf675592bab8c53aa77c03ae70f5ced0d8e36d /boards/ST_STM8L_DISCOVERY/board.h
parent688c495b28d6307050f370717c295f2f889e3b3c (diff)
downloadChibiOS-be60d348aa1f67e1c9a4667aa996318c1a43067f.tar.gz
ChibiOS-be60d348aa1f67e1c9a4667aa996318c1a43067f.tar.bz2
ChibiOS-be60d348aa1f67e1c9a4667aa996318c1a43067f.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2356 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/ST_STM8L_DISCOVERY/board.h')
-rw-r--r--boards/ST_STM8L_DISCOVERY/board.h26
1 files changed, 9 insertions, 17 deletions
diff --git a/boards/ST_STM8L_DISCOVERY/board.h b/boards/ST_STM8L_DISCOVERY/board.h
index bfb8f23c4..a349aa9e4 100644
--- a/boards/ST_STM8L_DISCOVERY/board.h
+++ b/boards/ST_STM8L_DISCOVERY/board.h
@@ -28,7 +28,7 @@
* Board identifiers.
*/
#define BOARD_ST_STM8L_DISCOVERY
-#define BOARD_NAME "ST STM8L-Discovery"
+#define BOARD_NAME "ST STM8L-Discovery"
/*
* Board frequencies and bypass modes.
@@ -101,7 +101,7 @@
*/
#define VAL_GPIOAODR 0
#define VAL_GPIOADDR 0 /* All inputs. */
-#define VAL_GPIOACR1 0xFF /* All pull-up. */
+#define VAL_GPIOACR1 0xFF /* All pull-up/push-pull. */
#define VAL_GPIOACR2 0
/*
@@ -109,15 +109,15 @@
*/
#define VAL_GPIOBODR 0
#define VAL_GPIOBDDR 0 /* All inputs. */
-#define VAL_GPIOBCR1 0xFF /* All pull-up. */
+#define VAL_GPIOBCR1 0xFF /* All pull-up/push-pull. */
#define VAL_GPIOBCR2 0
/*
* Port C initial setup.
*/
-#define VAL_GPIOCODR (1 < PC_LED4)
+#define VAL_GPIOCODR 0
#define VAL_GPIOCDDR (1 < PC_LED4)
-#define VAL_GPIOCCR1 0xFF /* All pull-up/open drain. */
+#define VAL_GPIOCCR1 0xFF /* All pull-up/push-pull. */
#define VAL_GPIOCCR2 0
/*
@@ -125,15 +125,15 @@
*/
#define VAL_GPIODODR 0
#define VAL_GPIODDDR 0 /* All inputs. */
-#define VAL_GPIODCR1 0xFF /* All pull-up. */
+#define VAL_GPIODCR1 0xFF /* All pull-up/push-pull. */
#define VAL_GPIODCR2 0
/*
* Port E initial setup.
*/
-#define VAL_GPIOEODR (1 < PE_LED3)
+#define VAL_GPIOEODR 0
#define VAL_GPIOEDDR (1 < PE_LED3)
-#define VAL_GPIOECR1 0xFF /* All pull-up/open drain. */
+#define VAL_GPIOECR1 0xFF /* All pull-up/push-pull. */
#define VAL_GPIOECR2 0
/*
@@ -141,17 +141,9 @@
*/
#define VAL_GPIOFODR 0
#define VAL_GPIOFDDR 0 /* All inputs. */
-#define VAL_GPIOFCR1 0xFF /* All pull-up. */
+#define VAL_GPIOFCR1 0xFF /* All pull-up/push-pull. */
#define VAL_GPIOFCR2 0
-/*
- * Port G initial setup (not present but still initialized).
- */
-#define VAL_GPIOGODR 0
-#define VAL_GPIOGDDR 0 /* All inputs. */
-#define VAL_GPIOGCR1 0xFF /* All pull-up. */
-#define VAL_GPIOGCR2 0
-
#ifdef __cplusplus
extern "C" {
#endif