Skip to content

Commit

Permalink
fix: Fix syscalls generation setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
petejohanson committed Feb 9, 2024
1 parent bd9c71a commit d06e90e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions app/prj.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CONFIG_APPLICATION_DEFINED_SYSCALL=y

0 comments on commit d06e90e

Please sign in to comment.