fix: Fixes for building soft off without deep sleep.

This commit is contained in:
Peter Johanson
2024-02-20 00:10:15 -08:00
committed by Pete Johanson
parent cac999b1d6
commit bb94a7aafe
2 changed files with 3 additions and 1 deletions

View File

@@ -8,7 +8,7 @@ set(ZEPHYR_EXTRA_MODULES "${ZMK_EXTRA_MODULES};${CMAKE_CURRENT_SOURCE_DIR}/modul
find_package(Zephyr REQUIRED HINTS ../zephyr)
project(zmk)
if(CONFIG_ZMK_SLEEP)
if(CONFIG_ZMK_PM_DEVICE_SUSPEND_RESUME)
zephyr_linker_sources(SECTIONS include/linker/zmk-pm-devices.ld)
endif()