mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
fix(pm): Use Zephyr created device slots.
* Avoid overwriting random memory by using iterable section created by Zephyr PM.
This commit is contained in:
committed by
Pete Johanson
parent
d0e0ecb4e3
commit
41d81801ed
@@ -8,10 +8,6 @@ set(ZEPHYR_EXTRA_MODULES "${ZMK_EXTRA_MODULES};${CMAKE_CURRENT_SOURCE_DIR}/modul
|
||||
find_package(Zephyr REQUIRED HINTS ../zephyr)
|
||||
project(zmk)
|
||||
|
||||
if(CONFIG_ZMK_PM_DEVICE_SUSPEND_RESUME)
|
||||
zephyr_linker_sources(SECTIONS include/linker/zmk-pm-devices.ld)
|
||||
endif()
|
||||
|
||||
zephyr_linker_sources(SECTIONS include/linker/zmk-behaviors.ld)
|
||||
zephyr_linker_sources(RODATA include/linker/zmk-events.ld)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user