fix: Fix syscalls generation setup.

This commit is contained in:
Peter Johanson 2023-11-09 00:07:10 -08:00
parent 047fd53b30
commit 679c152028
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,9 @@ project(zmk)
zephyr_linker_sources(RODATA include/linker/zmk-events.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 # Add your source file to the "app" target. This must come after
# find_package(Zephyr) which defines the target. # find_package(Zephyr) which defines the target.
target_include_directories(app PRIVATE include) target_include_directories(app PRIVATE include)

View file

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