zephyr/tests/subsys/fs/fat_fs_api/boards/native_posix.overlay

33 lines
565 B
Plaintext

/*
* Copyright (c) 2022 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/
&flashcontroller0 {
reg = <0x00000000 DT_SIZE_K(2048)>;
};
&flash0 {
reg = <0x00000000 DT_SIZE_K(2048)>;
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
flashdisk_partition: partition@0 {
label = "flashdisk";
reg = <0x00000000 0x00200000>;
};
};
};
/ {
test_disk: storage_disk {
compatible = "zephyr,flash-disk";
partition = <&flashdisk_partition>;
disk-name = "NAND";
cache-size = <4096>;
};
};