summaryrefslogtreecommitdiff
path: root/src/class/msc/msc_host.c
AgeCommit message (Collapse)Author
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-23rename tuh_msc_scsi_inquiry() to tuh_msc_inquiry()hathach
2020-12-23Added MSC read10 and write10 functionYakovenko Andrey
2020-11-01added host set_config driverhathach
to resolve control conflict with SET_CONFIGURE for class driver - open will be called to open endpoint only - set_config called later to initialized class driver
2020-10-13more clean uphathach
2020-10-13clean uphathach
2020-10-13implement tuh_msc_scsi_inquiry() / tuh_msc_read_capacity() / ↵hathach
tuh_msc_get_maxlun()
2020-10-13rework msc hosthathach
- msc host enum is now async - implement async tuh_msc_scsi_command() / tuh_msc_request_sense() / tuh_msc_test_unit_ready()
2020-09-06change xfer_cb return type from void to boolhathach
2020-09-05defer xfer_isr to xfer_cbhathach
2020-09-03fix #449 remove obsolete pipehandle from hid hosthathach
2020-09-01add more logging to host stackhathach
tested host with lpc4357, don't use fpu with lpc m4 since it seems to cause hardfault (stack does not make use of fpu anyway).
2020-05-19usb0 host on mcb1800 work with fullspeed mode.hathach
use usbh_edpt_open() to correctly map ep2drv[]
2020-01-15Normalize line endingsNathan Conrad
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-14more endian converthathach
2019-05-14clean up endian convert functionhathach
2019-05-14update license year to 2019hathach
2019-03-27cleanup, remove the use of _TINY_USB_SOURCE_FILE_hathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2018-12-12rename descriptor_* helper to tu_desc_*hathach
2018-12-12rename edpt_dir/number/addr to tu_edpt_*hathach
2018-12-12replace all hcd pipe close by hcd_device_removehathach
2018-12-11more hcd_pipe to hcd_edpt renamehathach
2018-12-11rename to hcd_edpt_open()hathach
2018-12-11remove pipe handle in host mschathach
2018-12-10fix msc hosthathach
2018-12-10usbh name changehathach
2018-12-10host msc built but got hardfault with inquiry commandhathach
2018-12-10clean up host pipe apihathach
2018-12-07rename MODE_HOST_SUPPORTED to TUSB_OPT_HOST_ENABLEDhathach
2018-12-07able to build host hidhathach
2018-12-07able to build with host mschathach
2018-12-06rename CFG_TUSB_HOST_CDC/MSC to CFG_TUH_CDC/MSChathach
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-11-22rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTIONhathach
2018-10-23clean up helper funchathach
2018-07-26add tud_msc_set_sense(), update msc device to reponse with default sense ↵hathach
(illegal request) when there is issue with scsi command
2018-06-18rename subfolder source to srchathach