tests: flash_map: Configure mpu to allow flash write

On boards that have the arm or nxp mpu, configure the mpu to allow flash
writes. Otherwise this test will fail with an mpu fault.

Signed-off-by: Maureen Helm <maureen.helm@nxp.com>
This commit is contained in:
Maureen Helm 2019-05-30 11:16:56 -05:00 committed by Anas Nashif
parent 73a96c0052
commit c8ae05dd80
2 changed files with 6 additions and 2 deletions

View File

@ -0,0 +1 @@
CONFIG_MPU_ALLOW_FLASH_WRITE=y

View File

@ -1,5 +1,8 @@
tests:
storage.flash_map:
platform_whitelist: nrf52840_pca10056 nrf52_pca10040 nrf51_pca10028
frdm_k64f hexiwear_k64 qemu_x86 native_posix
platform_whitelist: nrf51_pca10028 qemu_x86 native_posix
tags: flash_map
storage.flash_map_mpu:
extra_args: OVERLAY_CONFIG=overlay-mpu.conf
platform_whitelist: nrf52840_pca10056 nrf52_pca10040 frdm_k64f hexiwear_k64
tags: flash_map