Skip to content
Commit d34d554d authored by Björn Bergman's avatar Björn Bergman Committed by Benjamin Cabé
Browse files

arch: arm: mpu: Fix BUILD_ASSERT on pointer value



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: default avatarBjörn Bergman <bjorn.bergman@iar.com>
parent 43b43f54
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment