fix: Adjustments for Zephyr 3.5.

This commit is contained in:
Peter Johanson
2024-02-19 02:18:23 -08:00
committed by Pete Johanson
parent bd21f41412
commit 8d54e287f0
5 changed files with 79 additions and 61 deletions

View File

@@ -405,6 +405,7 @@ config ZMK_SLEEP
bool "Enable deep sleep support"
depends on HAS_POWEROFF
select POWEROFF
select ZMK_PM_DEVICE_SUSPEND_RESUME
imply USB
if ZMK_SLEEP
@@ -426,10 +427,15 @@ config ZMK_EXT_POWER
config ZMK_PM
bool
config ZMK_PM_DEVICE_SUSPEND_RESUME
bool
select ZMK_PM
config ZMK_PM_SOFT_OFF
bool "Soft-off support"
select ZMK_PM
select PM_DEVICE
select ZMK_PM_DEVICE_SUSPEND_RESUME
config ZMK_GPIO_KEY_WAKEUP_TRIGGER
bool "Hardware supported wakeup (GPIO)"