Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch: arm: cortex_m: scb: fix MPU code compilation guards #59858

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

gmarull
Copy link
Member

@gmarull gmarull commented Jun 29, 2023

The implementation of z_arm_clear_arm_mpu_config was compiled for all ARM cores that declare to have an MPU. However, we only want to compile it if the MPU is actually enabled.

The implementation of `z_arm_clear_arm_mpu_config` was compiled for all
ARM cores that declare to have an MPU. However, we only want to compile
it if the MPU is actually enabled.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
@carlescufi carlescufi merged commit 33b1164 into zephyrproject-rtos:main Jun 29, 2023
22 checks passed
@gmarull gmarull deleted the fix-arm-mpu-compile branch June 29, 2023 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: ARM ARM (32-bit) Architecture
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants