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:
parent
a6be4f608e
commit
53fd687344
3 changed files with 29 additions and 0 deletions
9
tests/subsys/fs/fcb/boards/qemu_x86.overlay
Normal file
9
tests/subsys/fs/fcb/boards/qemu_x86.overlay
Normal file
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
* Copyright (c) Nordic Semiconductor ASA
|
||||
*
|
||||
*SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
&flash_sim0 {
|
||||
write-block-size = <1>;
|
||||
};
|
13
tests/subsys/fs/fcb/boards/qemu_x86_ev_0x00.overlay
Normal file
13
tests/subsys/fs/fcb/boards/qemu_x86_ev_0x00.overlay
Normal 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>;
|
||||
};
|
7
tests/subsys/fs/fcb/prj_qemu_x86.conf
Normal file
7
tests/subsys/fs/fcb/prj_qemu_x86.conf
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue