boards: arm: mps3_an547: Disable null pointer detection for QEMU
This commit disables the Cortex-M null pointer detection feature for the QEMU mps3_an547 targets because QEMU permits bus access to the unmapped 0x0-0x400 region used by the MPU-based null pointer detection feature. Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
This commit is contained in:
parent
ad8ca3ee5a
commit
ad6835fab1
1 changed files with 8 additions and 0 deletions
|
@ -6,6 +6,14 @@ if BOARD_MPS3_AN547
|
|||
config BOARD
|
||||
default "mps3_an547"
|
||||
|
||||
# MPU-based null-pointer dereferencing detection cannot
|
||||
# be applied as the (0x0 - 0x400) is unmapped but QEMU
|
||||
# will still permit bus access.
|
||||
choice NULL_POINTER_EXCEPTION_DETECTION
|
||||
bool
|
||||
default NULL_POINTER_EXCEPTION_DETECTION_NONE if QEMU_TARGET
|
||||
endchoice
|
||||
|
||||
if GPIO
|
||||
|
||||
config GPIO_CMSDK_AHB
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue