diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-15 19:44:09 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-11-15 19:44:09 +0000 |
commit | 5962467685985de2d79a85a1fcf8b1961d3d72de (patch) | |
tree | 5c788196a537443c252e27c06e07faf711d7e44a /boards/OLIMEX_LPC_P2148/board.c | |
parent | b28de36fe95f0755d01a32c33e6f5faffb0af753 (diff) | |
download | ChibiOS-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/OLIMEX_LPC_P2148/board.c')
-rw-r--r-- | boards/OLIMEX_LPC_P2148/board.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/boards/OLIMEX_LPC_P2148/board.c b/boards/OLIMEX_LPC_P2148/board.c index a1ffef73b..26cce1d90 100644 --- a/boards/OLIMEX_LPC_P2148/board.c +++ b/boards/OLIMEX_LPC_P2148/board.c @@ -22,6 +22,20 @@ #define VAL_TC0_PRESCALER 0
+/**
+ * @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_PINSEL0,
+ VAL_PINSEL1,
+ VAL_PINSEL2,
+ {VAL_FIO0PIN, VAL_FIO0DIR},
+ {VAL_FIO1PIN, VAL_FIO1DIR}
+};
+
/*
* Timer 0 IRQ handling here.
*/
|