aboutsummaryrefslogtreecommitdiffstats
path: root/boards/ST_STM3210C_EVAL
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-15 19:44:09 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-11-15 19:44:09 +0000
commit5962467685985de2d79a85a1fcf8b1961d3d72de (patch)
tree5c788196a537443c252e27c06e07faf711d7e44a /boards/ST_STM3210C_EVAL
parentb28de36fe95f0755d01a32c33e6f5faffb0af753 (diff)
downloadChibiOS-5962467685985de2d79a85a1fcf8b1961d3d72de.tar.gz
ChibiOS-5962467685985de2d79a85a1fcf8b1961d3d72de.tar.bz2
ChibiOS-5962467685985de2d79a85a1fcf8b1961d3d72de.zip
Added STM32VL-Discovery demo. Changes to all the board files.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2370 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/ST_STM3210C_EVAL')
-rw-r--r--boards/ST_STM3210C_EVAL/board.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/boards/ST_STM3210C_EVAL/board.c b/boards/ST_STM3210C_EVAL/board.c
index e9179f9e9..0dfa60bfc 100644
--- a/boards/ST_STM3210C_EVAL/board.c
+++ b/boards/ST_STM3210C_EVAL/board.c
@@ -20,6 +20,20 @@
#include "ch.h"
#include "hal.h"
+/**
+ * @brief PAL setup.
+ * @details Digital I/O ports static configuration as defined in @p board.h.
+ * This variable is used by the HAL when initializing the PAL driver.
+ */
+const PALConfig pal_default_config =
+{
+ {VAL_GPIOAODR, VAL_GPIOACRL, VAL_GPIOACRH},
+ {VAL_GPIOBODR, VAL_GPIOBCRL, VAL_GPIOBCRH},
+ {VAL_GPIOCODR, VAL_GPIOCCRL, VAL_GPIOCCRH},
+ {VAL_GPIODODR, VAL_GPIODCRL, VAL_GPIODCRH},
+ {VAL_GPIOEODR, VAL_GPIOECRL, VAL_GPIOECRH},
+};
+
/*
* Early initialization code.
* This initialization is performed just after reset before BSS and DATA