Initial refactor to have a shield/board have one default keymap.
* Start of work of focusing on out-of-tree user keymaps.
Add ZMK_CONFIG support.
* General external configuration supported via ZMK_CONFIG,
which should point to a configuration directory.
* Priority order of overlay files to select.
* ${SHIELD}_${BOARD}.overlay
* ${SHIELD}.overlay
* ${BOARD}.overlay
* default.overlay
* Equivalent search order for .conf files for initial Kconfig
values.
This commit is contained in:
parent
500232bb83
commit
583839afce
10 changed files with 147 additions and 105 deletions
|
|
@ -12,9 +12,9 @@ list(APPEND ZEPHYR_EXTRA_MODULES
|
|||
)
|
||||
list(APPEND SYSCALL_INCLUDE_DIRS ${CMAKE_CURRENT_SOURCE_DIR}/drivers/zephyr)
|
||||
|
||||
include(cmake/keymap.cmake)
|
||||
include(cmake/zmk_config.cmake)
|
||||
|
||||
find_package(Zephyr)
|
||||
find_package(Zephyr REQUIRED HINTS ../zephyr)
|
||||
project(zmk)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue