aboutsummaryrefslogtreecommitdiffstats
path: root/boards/EA_LPCXPRESSO_BB_1343/board.c
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/EA_LPCXPRESSO_BB_1343/board.c
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/EA_LPCXPRESSO_BB_1343/board.c')
-rw-r--r--boards/EA_LPCXPRESSO_BB_1343/board.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/boards/EA_LPCXPRESSO_BB_1343/board.c b/boards/EA_LPCXPRESSO_BB_1343/board.c
index fa2ab83cc..4055ee116 100644
--- a/boards/EA_LPCXPRESSO_BB_1343/board.c
+++ b/boards/EA_LPCXPRESSO_BB_1343/board.c
@@ -20,6 +20,18 @@
#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_GPIO0DATA, VAL_GPIO0DIR},
+ {VAL_GPIO1DATA, VAL_GPIO1DIR},
+ {VAL_GPIO2DATA, VAL_GPIO2DIR},
+ {VAL_GPIO3DATA, VAL_GPIO3DIR},
+};
+
/*
* Early initialization code.
* This initialization is performed just after reset before BSS and DATA