forked from kofal.net/zmk
feat(nice!view): Custom widgets
This commit is contained in:
committed by
Pete Johanson
parent
f3110d1d1e
commit
18a2b76bf0
13
app/boards/shields/nice_view/CMakeLists.txt
Normal file
13
app/boards/shields/nice_view/CMakeLists.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
if(CONFIG_ZMK_DISPLAY AND CONFIG_NICE_VIEW_WIDGET_STATUS)
|
||||
zephyr_library_include_directories(${CMAKE_SOURCE_DIR}/include)
|
||||
zephyr_library_sources(custom_status_screen.c)
|
||||
zephyr_library_sources(widgets/bolt.c)
|
||||
zephyr_library_sources(widgets/util.c)
|
||||
|
||||
if(NOT CONFIG_ZMK_SPLIT OR CONFIG_ZMK_SPLIT_ROLE_CENTRAL)
|
||||
zephyr_library_sources(widgets/status.c)
|
||||
else()
|
||||
zephyr_library_sources(widgets/art.c)
|
||||
zephyr_library_sources(widgets/peripheral_status.c)
|
||||
endif()
|
||||
endif()
|
||||
Reference in New Issue
Block a user