From 7ce82fbd12854a379755802dd83b5592ed17f345 Mon Sep 17 00:00:00 2001 From: Pete Johanson Date: Wed, 1 Jul 2020 22:58:30 -0400 Subject: Add ability to have board overlay combined w/ shield keymap. --- app/cmake/zmk_config.cmake | 3 +++ 1 file changed, 3 insertions(+) (limited to 'app/cmake') diff --git a/app/cmake/zmk_config.cmake b/app/cmake/zmk_config.cmake index 89c141a..c0993c7 100644 --- a/app/cmake/zmk_config.cmake +++ b/app/cmake/zmk_config.cmake @@ -44,6 +44,9 @@ endif() set(CACHED_ZMK_CONFIG ${ZMK_CONFIG} CACHE STRING "Selected user ZMK config") foreach(root ${BOARD_ROOT}) + if (EXISTS "${root}/boards/${BOARD}.overlay") + list(APPEND ZMK_DTC_FILES "${root}/boards/${BOARD}.overlay") + endif() find_path(BOARD_DIR NAMES ${BOARD}_defconfig PATHS ${root}/boards/*/* -- cgit v1.2.3