summaryrefslogtreecommitdiff
path: root/app/CMakeLists.txt
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-08-31 10:18:19 -0400
committerPete Johanson <peter@peterjohanson.com>2020-12-02 16:04:56 -0500
commitb3f3362b506d628c53cc610801bc3109965659ea (patch)
tree847013359808f4e0bc7c0da17d6750eb998b143c /app/CMakeLists.txt
parentd5ea4269757e4b6e1d4a4185a34f359210eac310 (diff)
feat(display): Initial widget/status screen work.
* Battery and output status widgets * Built in status screen combining them. * Ability to define a custom status screen factory function.
Diffstat (limited to 'app/CMakeLists.txt')
-rw-r--r--app/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt
index de19f81..ff9d59d 100644
--- a/app/CMakeLists.txt
+++ b/app/CMakeLists.txt
@@ -28,7 +28,6 @@ target_sources(app PRIVATE src/kscan.c)
target_sources(app PRIVATE src/matrix_transform.c)
target_sources(app PRIVATE src/hid.c)
target_sources(app PRIVATE src/sensors.c)
-target_sources_ifdef(CONFIG_ZMK_DISPLAY app PRIVATE src/display.c)
target_sources(app PRIVATE src/event_manager.c)
target_sources_ifdef(CONFIG_ZMK_EXT_POWER app PRIVATE src/ext_power_generic.c)
target_sources(app PRIVATE src/events/position_state_changed.c)
@@ -69,4 +68,6 @@ target_sources(app PRIVATE src/hid_listener.c)
target_sources_ifdef(CONFIG_SETTINGS app PRIVATE src/settings.c)
target_sources(app PRIVATE src/main.c)
+add_subdirectory(src/display/)
+
zephyr_cc_option(-Wfatal-errors)