Skip to content

Conversation

@kasjer
Copy link
Contributor

@kasjer kasjer commented Nov 7, 2025

When Zephyr was configured with MPU, MPU registers were lost during deep sleep.

Now if CONFIG_ARM_MPU is enabled registers are stored before sleep and restored on wakeup.

Without this change a lot of test that uses MPU fails.

In most other cases MPU is just disabled after first sleep and does not help to detect other errors.

When Zephyr was configured with MPU, MPU registers were
lost during deep sleep.

Now if CONFIG_ARM_MPU is enabled registers are stored before
sleep and restored on wakeup.

Signed-off-by: Jerzy Kasenberg <[email protected]>
@KhiemNguyenT KhiemNguyenT merged commit 1c60ebd into zephyrproject-rtos:main Nov 13, 2025
@kasjer kasjer deleted the kasjer/da1469x-store-mpu-cfg-for-deep-sleep branch November 13, 2025 07:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants