Add USB Mass Storage Class support (#5443)
commit3a917a3755995b5cdd86aa67c5fbbeff6552561f
authorconkerkh <krzyshockuba@gmail.com>
Wed, 21 Mar 2018 11:11:34 +0000 (21 12:11 +0100)
committerMichael Keller <github@ike.ch>
Wed, 21 Mar 2018 11:11:34 +0000 (22 00:11 +1300)
treea7247ac1fc20e24d813e0e2127c6faf6eb75b013
parentbc283cf5b91e95166efd4387c2e62968c75982ab
Add USB Mass Storage Class support (#5443)

* Add MSC support

* Add support for MSC to WORMFC and SDIO_DMA

* Cleanup in fc_init

* Fix headers
23 files changed:
lib/main/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_bot.h [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_core.h [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_data.h [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_mem.h [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/inc/usbd_msc_scsi.h [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/src/usbd_msc_bot.c [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/src/usbd_msc_core.c [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/src/usbd_msc_data.c [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/src/usbd_msc_scsi.c [new file with mode: 0644]
lib/main/STM32_USB_Device_Library/Class/msc/src/usbd_storage_template.c [new file with mode: 0644]
make/mcu/STM32F4.mk
make/source.mk
src/main/drivers/usb_msc.h [new file with mode: 0644]
src/main/drivers/usb_msc_f4xx.c [new file with mode: 0644]
src/main/fc/fc_init.c
src/main/interface/cli.c
src/main/msc/usbd_msc_desc.c [new file with mode: 0644]
src/main/msc/usbd_msc_desc.h [copied from src/main/vcpf4/usbd_desc.h with 68% similarity]
src/main/msc/usbd_storage_sd_spi.c [new file with mode: 0644]
src/main/msc/usbd_storage_sdio.c [new file with mode: 0644]
src/main/target/WORMFC/target.mk
src/main/vcpf4/usbd_conf.h
src/main/vcpf4/usbd_desc.h