soc: nrf: Update systemoff sequence for nRF54L15
Production version of the nRF54L15 SoC needs reset reason to be cleared before going into system off. Signed-off-by: Karol Lasończyk <karol.lasonczyk@nordicsemi.no>
This commit is contained in:
parent
be041b14fe
commit
aca6b2ab22
1 changed files with 6 additions and 0 deletions
|
@ -13,9 +13,15 @@
|
|||
#else
|
||||
#include <hal/nrf_regulators.h>
|
||||
#endif
|
||||
#if defined(CONFIG_SOC_SERIES_NRF54LX)
|
||||
#include <helpers/nrfx_reset_reason.h>
|
||||
#endif
|
||||
|
||||
void z_sys_poweroff(void)
|
||||
{
|
||||
#if defined(CONFIG_SOC_SERIES_NRF54LX)
|
||||
nrfx_reset_reason_clear(UINT32_MAX);
|
||||
#endif
|
||||
#if defined(CONFIG_SOC_SERIES_NRF51X) || defined(CONFIG_SOC_SERIES_NRF52X)
|
||||
nrf_power_system_off(NRF_POWER);
|
||||
#elif defined(CONFIG_SOC_SERIES_NRF54HX)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue