Skip to content

Commit

Permalink
tests: flash_map: Configure mpu to allow flash write
Browse files Browse the repository at this point in the history
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 c8ae05d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/subsys/storage/flash_map/overlay-mpu.conf
@@ -0,0 +1 @@
CONFIG_MPU_ALLOW_FLASH_WRITE=y
7 changes: 5 additions & 2 deletions tests/subsys/storage/flash_map/testcase.yaml
@@ -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.