aboutsummaryrefslogtreecommitdiffstats
path: root/boards/OLIMEX_LPC_P2148/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'boards/OLIMEX_LPC_P2148/board.c')
-rw-r--r--boards/OLIMEX_LPC_P2148/board.c14
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.
*/