Add an object to retain data across both reboots and entry to SYSTEM_OFF. This only works on nRF52, since nRF51 and nRF53 require different low-level operations to configure RAM retention. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
7 lines
178 B
Plaintext
7 lines
178 B
Plaintext
CONFIG_PM=y
|
|
# Required to disable default behavior of deep sleep on timeout
|
|
CONFIG_PM_DEVICE=y
|
|
CONFIG_GPIO=y
|
|
# Optional select RAM retention (nRF52 only)
|
|
#CONFIG_APP_RETENTION=y
|