I am trying to use Xiao BLE Sence QSPI flash as a storage, but got error like this
Any one can help?
/home/wols/Documents/Wols/zephyrproject/zephyr/samples/subsys/usb/mass/src/main.c:36:2: error: #error No supported disk driver enabled
36 | #error No supported disk driver enabled
| ^~~~~
[17/106] Building C object zephyr/lib/libc/common/CMakeFiles/lib__libc__common.dir/source/stdlib/malloc.c.obj
ninja: build stopped: subcommand failed.
Here is build cmd
west build -b xiao_ble/nrf52840/sense zephyr/samples/subsys/usb/mass -DCONFIG_APP_MSC_STORAGE_FLASH_FATFS=y
Here is overlay
/delete-node/ &storage_partition;
/ {
chosen {
zephyr,ieee802154 = &ieee802154;
};
};
&p25q16h{
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;
storage_partition: partition@0 {
label = "storage";
reg = <0x00000000 0x00020000>;
};
};
};