Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
73a96c0
commit c8ae05d
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CONFIG_MPU_ALLOW_FLASH_WRITE=y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |