Add ability to have board overlay combined w/ shield keymap.
This commit is contained in:
parent
4c5ed99381
commit
7ce82fbd12
2 changed files with 52 additions and 0 deletions
|
|
@ -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/*/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue