diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-10-06 17:32:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-06 17:32:35 -0400 |
commit | 12b9a37005cade72ad85134b8cfe31ccefec500d (patch) | |
tree | 130071af412462a462fbd268348756d683d1969e /app/CMakeLists.txt | |
parent | ce59223efe9062ac1da77bae93a3578ce0463b66 (diff) | |
parent | a7496ab06425cab7de5fc7164b4ce5a34dd7107b (diff) |
Merge pull request #211 from petejohanson/core/keymap-port-event-exploration
Use PORT events for kscan matrix interrupts, add option for deep sleep.
Diffstat (limited to 'app/CMakeLists.txt')
-rw-r--r-- | app/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 5c77c54..3e59d75 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -23,6 +23,7 @@ zephyr_linker_sources(RODATA include/linker/zmk-events.ld) # Add your source file to the "app" target. This must come after # find_package(Zephyr) which defines the target. target_include_directories(app PRIVATE include) +target_sources_ifdef(CONFIG_ZMK_SLEEP app PRIVATE src/power.c) target_sources(app PRIVATE src/kscan.c) target_sources(app PRIVATE src/matrix_transform.c) target_sources(app PRIVATE src/hid.c) |