aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ginput/toggle/Pal/ginput_lld_toggle_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ginput/toggle/Pal/ginput_lld_toggle_config.h')
-rw-r--r--drivers/ginput/toggle/Pal/ginput_lld_toggle_config.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/ginput/toggle/Pal/ginput_lld_toggle_config.h b/drivers/ginput/toggle/Pal/ginput_lld_toggle_config.h
index a3fcf22e..774be200 100644
--- a/drivers/ginput/toggle/Pal/ginput_lld_toggle_config.h
+++ b/drivers/ginput/toggle/Pal/ginput_lld_toggle_config.h
@@ -31,7 +31,10 @@
#if GFX_USE_GINPUT && GINPUT_NEED_TOGGLE
-#if defined(BOARD_OLIMEX_SAM7_EX256)
+#if GINPUT_TOGGLE_USE_CUSTOM_BOARD
+ /* Include the user supplied board definitions */
+ #include "ginput_lld_toggle_board.h"
+#elif defined(BOARD_OLIMEX_SAM7_EX256)
#include "ginput_lld_toggle_board_olimexsam7ex256.h"
#else
/* Include the user supplied board definitions */