tests/fs/fcb: Add support for qemu_x86 platform

Overlays that enable FCB tests on qemu_x86 plaftorm have been added.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
This commit is contained in:
Dominik Ermel 2020-09-25 15:10:12 +00:00 committed by Carles Cufí
commit 53fd687344
3 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,9 @@
/*
* Copyright (c) Nordic Semiconductor ASA
*
*SPDX-License-Identifier: Apache-2.0
*/
&flash_sim0 {
write-block-size = <1>;
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2020 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
&sim_flash {
erase-value = < 0x00 >;
};
&flash_sim0 {
write-block-size = <1>;
};

View file

@ -0,0 +1,7 @@
CONFIG_ZTEST=y
CONFIG_STDOUT_CONSOLE=y
CONFIG_FLASH=y
CONFIG_FLASH_PAGE_LAYOUT=y
CONFIG_FLASH_MAP=y
CONFIG_FCB=y
CONFIG_FLASH_SIMULATOR_UNALIGNED_READ=y