aboutsummaryrefslogtreecommitdiffstats
path: root/boards/OLIMEX_SAM7_EX256/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'boards/OLIMEX_SAM7_EX256/board.c')
-rw-r--r--boards/OLIMEX_SAM7_EX256/board.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/boards/OLIMEX_SAM7_EX256/board.c b/boards/OLIMEX_SAM7_EX256/board.c
index e13a05420..5445739ed 100644
--- a/boards/OLIMEX_SAM7_EX256/board.c
+++ b/boards/OLIMEX_SAM7_EX256/board.c
@@ -25,6 +25,7 @@
* @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.
*/
+#if HAL_USE_PAL || defined(__DOXYGEN__)
const PALConfig pal_default_config =
{
{VAL_PIOA_ODSR, VAL_PIOA_OSR, VAL_PIOA_PUSR},
@@ -33,6 +34,7 @@ const PALConfig pal_default_config =
{VAL_PIOB_ODSR, VAL_PIOB_OSR, VAL_PIOB_PUSR}
#endif
};
+#endif
/*
* SYS IRQ handling here.