aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC111x/hal_lld.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms/LPC111x/hal_lld.c')
-rw-r--r--os/hal/platforms/LPC111x/hal_lld.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/os/hal/platforms/LPC111x/hal_lld.c b/os/hal/platforms/LPC111x/hal_lld.c
index 31d9f5417..95a39553c 100644
--- a/os/hal/platforms/LPC111x/hal_lld.c
+++ b/os/hal/platforms/LPC111x/hal_lld.c
@@ -41,6 +41,17 @@
/* Driver local variables. */
/*===========================================================================*/
+/**
+ * @brief PAL setup.
+ * @details Digital I/O ports static configuration as defined in @p board.h.
+ */
+const PALConfig pal_default_config = {
+ {VAL_GPIO0DATA, VAL_GPIO0DIR},
+ {VAL_GPIO1DATA, VAL_GPIO1DIR},
+ {VAL_GPIO2DATA, VAL_GPIO2DIR},
+ {VAL_GPIO3DATA, VAL_GPIO3DIR},
+};
+
/*===========================================================================*/
/* Driver local functions. */
/*===========================================================================*/