2019-03-12 19:52:23 +08:00
|
|
|
CONFIG_STDOUT_CONSOLE=y
|
|
|
|
CONFIG_GPIO=y
|
|
|
|
CONFIG_USB=y
|
|
|
|
CONFIG_USB_DEVICE_STACK=y
|
|
|
|
CONFIG_USB_DEVICE_PRODUCT="Zephyr MSC sample"
|
2019-03-28 19:13:16 +08:00
|
|
|
CONFIG_USB_MASS_STORAGE=y
|
2019-03-12 19:52:23 +08:00
|
|
|
CONFIG_LOG=y
|
2019-03-28 19:13:16 +08:00
|
|
|
|
2019-03-12 19:52:23 +08:00
|
|
|
CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
|
|
|
|
CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
|
|
|
|
CONFIG_USB_MASS_STORAGE_LOG_LEVEL_ERR=y
|
2019-03-28 19:13:16 +08:00
|
|
|
CONFIG_DISK_LOG_LEVEL_ERR=y
|
|
|
|
|
2019-03-12 19:52:23 +08:00
|
|
|
CONFIG_DISK_ACCESS_RAM=y
|
2019-03-28 19:13:16 +08:00
|
|
|
|
|
|
|
CONFIG_MASS_STORAGE_DISK_NAME="NAND"
|
|
|
|
CONFIG_DISK_ACCESS_FLASH=y
|
|
|
|
CONFIG_DISK_FLASH_DEV_NAME="NRF_FLASH_DRV_NAME"
|
|
|
|
CONFIG_DISK_FLASH_START=0xf8000
|
|
|
|
CONFIG_DISK_FLASH_MAX_RW_SIZE=4096
|
|
|
|
CONFIG_DISK_FLASH_ERASE_ALIGNMENT=0x1000
|
|
|
|
CONFIG_DISK_ERASE_BLOCK_SIZE=0x1000
|
|
|
|
CONFIG_DISK_VOLUME_SIZE=0x10000
|
|
|
|
CONFIG_FILE_SYSTEM=y
|
|
|
|
CONFIG_FAT_FILESYSTEM_ELM=y
|
|
|
|
CONFIG_MPU_ALLOW_FLASH_WRITE=y
|