Skip to content
Permalink
Browse files

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>
  • Loading branch information...
MaureenHelm authored and nashif committed May 30, 2019
1 parent 73a96c0 commit c8ae05dd8065adcb9db0a31da0fd2fbf3e2b385b
Showing with 6 additions and 2 deletions.
  1. +1 −0 tests/subsys/storage/flash_map/overlay-mpu.conf
  2. +5 −2 tests/subsys/storage/flash_map/testcase.yaml
@@ -0,0 +1 @@
CONFIG_MPU_ALLOW_FLASH_WRITE=y
@@ -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

0 comments on commit c8ae05d

Please sign in to comment.
You can’t perform that action at this time.