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: mpu: Fix BUILD_ASSERT on pointer value #86415

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bjorniuppsala
Copy link
Contributor

Some compilers (iccarm included) does not support BUILD_ASSERT() to check alignment of arrays.

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

Some compilers (iccarm included) does not support BUILD_ASSERT()
to check alignment of arrays.

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

Signed-off-by: Björn Bergman <[email protected]>
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.

3 participants