fix: Fix syscalls generation setup.

This commit is contained in:
Peter Johanson 2023-11-09 00:07:10 -08:00 committed by Pete Johanson
parent bd9c71ab0a
commit d06e90e713
2 changed files with 4 additions and 0 deletions

View File

@ -11,6 +11,9 @@ project(zmk)
zephyr_linker_sources(SECTIONS include/linker/zmk-behaviors.ld)
zephyr_linker_sources(RODATA include/linker/zmk-events.ld)
zephyr_syscall_header(${APPLICATION_SOURCE_DIR}/include/drivers/behavior.h)
zephyr_syscall_header(${APPLICATION_SOURCE_DIR}/include/drivers/ext_power.h)
# 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)

View File

@ -0,0 +1 @@
CONFIG_APPLICATION_DEFINED_SYSCALL=y