summaryrefslogtreecommitdiff
path: root/src/class/msc
AgeCommit message (Collapse)Author
2022-02-15minor rename set sense functionhathach
2022-02-15msc example response PREVENT_ALLOW_MEDIUM_REMOVAL command as unsupported commandhathach
LUN1 of msc_disk_dual will be set to not ready to simulate medium not present (e.g SD card removed)
2022-02-14add tud_msc_request_sense_cb() as weak callbackhathach
set default error sense to NOT READY, Medium not present
2021-10-26Merge branch 'tannewt-rpi' into generalize-synopsys-dwc2hathach
2021-10-25change usage of TU_CHECK_MCU() to prevent macro conflicthathach
2021-10-17more with -Wcast-qualhathach
2021-10-15update some sense warning from -Wconversionhathach
2021-10-01Merge pull request #1120 from hathach/enhanceHa Thach
house keeping update
2021-09-30change scsis status to phase error when total_bytes < block_counthathach
2021-09-27Assure msc device block size is not zeroszymonh
2021-09-17rpi start. doesn't workScott Shawcroft
2021-09-14update configuration parserhathach
2021-09-07add msc workaround for cxd56hathach
2021-09-06Revert "Fix for MSC during stage STATUS"hathach
This reverts commit 2e23f3dd7287186445aeab39108f81c51644ed77.
2021-09-03Fix for MSC during stage STATUSKamil Tomaszewski
2021-09-01add back edpt check before cbw, since bot reset can occurred any timehathach
2021-09-01revert previous changes, edpt stall also clear any pending (not complete) ↵hathach
transfer
2021-08-31fix rp2040 chapter 9 TD 9.6 testhathach
2021-08-29responding with status per-spec in test case 4hathach
2021-08-29passed all USBCV bot complaince testhathach
2021-08-29msc handle more test, passed Command Self Test complianthathach
2021-08-29update msc to be more robusehathach
add more log, pass more complaint test
2021-08-27fix msc test case 8 and 10hathach
2021-08-27fix msc case 3 complaint testhathach
2021-08-27more msc refactoringhathach
2021-08-27fix BOT case 2 test complianthathach
2021-08-27refactor msc devicehathach
2021-08-27minor clean uphathach
2021-08-27update msc driver to pass MSC BOT error recovery compliant testhathach
2021-08-23sepearate CFG_TUH_DEVICE_MAX and CFG_TUH_HUBhathach
separate dev0 from _usbh_devices pool to save sram
2021-08-23rename CFG_TUSB_HOST_DEVICE_MAX to CFG_TUH_DEVICE_MAXhathach
2021-08-20change host driver open return type to boolhathach
the descriptor len used by driver will be calculated by usbh
2021-07-13add option to silent a driver loghathach
2021-06-28fix issue with weird msc device with 3 endpointshathach
2021-06-28change usbh open driver to have max_len and return driver lenhathach
2021-06-10implement usbh_edpt_busy (WIP), remove hcd_edpt_busyhathach
2021-06-10add usbh_classdriver.hhathach
2021-06-02clean up loghathach
2021-05-31fix cast-align warning in msc hosthathach
2021-05-27more include clean uphathach
2021-05-27include clean uphathach
2021-05-23only invoke tuh_msc_umount_cb() if neededhathach
2021-05-22implement hid host set report with control transferhathach
rename mount, umount callback
2021-05-18make tuh_msc_mount_cb() tuh_msc_unmount_cb() as weak callbackhathach
2021-05-18rename var to be consistenthathach
2021-04-26add TUP_MCU_STRICT_ALIGN macro that manually pick bytes for lpc55 port1 that ↵hathach
is m4 but cannot unaligned acces on usb ram
2021-02-23host msc: call read_capacity as part of enumerationhathach
- add tuh_msc_get_block_count(), tuh_msc_get_block_size() - rename tuh_msc_mounted_cb/tuh_msc_unmounted_cb to tuh_msc_mount_cb/tuh_msc_unmount_cb to match device stack naming - change tuh_msc_is_busy() to tuh_msc_ready() - add CFG_TUH_MSC_MAXLUN (default to 4) to hold lun capacities - add host msc configured to for state check.
2021-02-23clean up host mschathach
2021-02-23Merge pull request #575 from nwlab/yaa/msc_readHa Thach
Added MSC read10 and write10 function
2021-02-23update function commenthathach