CONFIG_SYS_POWER_MANAGEMENT Makes Build Fail for nRF5340 and nRF9160 #21318
Labels
area: Power Management
bug
The issue is a bug, or the PR is fixing a bug
platform: nRF
Nordic nRFx
priority: medium
Medium impact/importance bug
The current implementation of
zephyr/subsys/power/device.c
breaks because of the following:The documentation describes that
SYS_POWER_MANAGEMENT
is dependent onSOC_FAMILY_NRF
which is selected bySOC_SERIES_NRF51X
,SOC_SERIES_NRF52X
,SOC_SERIES_NRF53X
,SOC_SERIES_NRF91X
. Both of the soc_series symbols for the nRF53x and nRF91x selectHAS_SYS_POWER_STATE_DEEP_SLEEP_1
also which shows that the system power management functionality was intended to be compatible for both series.I'm currently working on an extreme low-power iot device on the nRF5340 and this feature is necessary to reach the lowest power state without losing significant development time. I'd be happy to help via a pull request, but I am quite new to Zephyr and am not yet familiar enough to start modifying the codebase.
The text was updated successfully, but these errors were encountered: