Skip to content

arch: arm: mpu: Fix alignment check for iccarm #88238

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

Merged
merged 1 commit into from
May 24, 2025

Conversation

LoveKarlsson
Copy link
Contributor

The IAR C/C++ compiler can't resolve a cast on a pointer to a constant expression. This is used in the
_ARCH_MEM_PARTITION_ALIGN_CHECK macro.

This fix checks if an IAR compiler is used and disables the start-alignment check if it is.

This was already fixed for v7 in rev d34d554.

The IAR C/C++ compiler can't resolve a cast on a pointer
to a constant expression. This is used in the
_ARCH_MEM_PARTITION_ALIGN_CHECK macro.

This fix checks if an IAR compiler is used and disables the
start-alignment check if it is.

This was already fixed for v7 in rev d34d554.

Signed-off-by: Lars-Ove Karlsson <lars-ove.karlsson@iar.com>
@kartben kartben merged commit 8cfd849 into zephyrproject-rtos:main May 24, 2025
24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Architectures area: ARM ARM (32-bit) Architecture
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants