zephyr/samples/usb/mass/prj.conf

32 lines
836 B
Plaintext
Raw Normal View History

CONFIG_STDOUT_CONSOLE=y
CONFIG_SYS_LOG=y
CONFIG_SYS_LOG_DEFAULT_LEVEL=4
CONFIG_ARC_INIT=n
CONFIG_GPIO=y
#USB related configs
CONFIG_USB=y
CONFIG_USB_DW=y
CONFIG_USB_DEVICE_STACK=y
CONFIG_SYS_LOG_USB_DW_LEVEL=3
CONFIG_USB_MASS_STORAGE=y
CONFIG_SYS_LOG_USB_LEVEL=3
CONFIG_SYS_LOG_USB_MASS_STORAGE_LEVEL=4
# Not required but can't get the disk access layers to be built without this.
# To be removed once the KConfig coupling is resolved. But if both the USB
# host and embedded target FS code needs to access the disk fs contents,
# this is required.
CONFIG_FILE_SYSTEM=y
#SPI flash related configs
CONFIG_DISK_ACCESS_FLASH=y
CONFIG_FS_FAT_FLASH_DISK_W25QXXDV=y
CONFIG_FLASH=y
CONFIG_SPI=y
CONFIG_SPI_CS_GPIO=y
CONFIG_SPI_0_CS_GPIO_PIN=24
#Want RAM DISK instead ? comment the whole flash block and uncomment
#CONFIG_DISK_ACCESS_RAM=y