summaryrefslogtreecommitdiff
path: root/src/class/msc/msc_host.h
AgeCommit message (Collapse)Author
2026-07-02license: use SPDX identifiers for src/ headers (#3749)Ha Thach
* license: use SPDX identifiers for src/ headers Replace the full ~20-line MIT license boilerplate on every src/ file with a two-line SPDX tag (SPDX-FileCopyrightText + SPDX-License-Identifier), following the REUSE convention used by CircuitPython and the Linux kernel. Removes ~3500 lines of duplicated boilerplate.
2025-12-11refactor usbh_class_driver_t's open() to return number of driver len instead ↵hathach
of bool. help to simplify parsing configuration
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-11-26add buffer note for host msc apihathach
2024-11-26msc host work ok with p4 dmahathach
2024-03-22implement tuh_init()hathach
change usbh driver init() return type from void to bool
2024-03-22adding deinit() stub for usbh/hcd class driverhathach
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2023-09-28fix esp32 msc examplehathach
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-12-04Fix typosBastien Nocera
2022-11-23rework tuh_msc_complete_cb_t signature to use new tuh_msc_complete_data_thathach
add user arg to all scsi command API that support complete callback
2022-11-21whitespacehathach
2021-08-20change host driver open return type to boolhathach
the descriptor len used by driver will be calculated by usbh
2021-06-28change usbh open driver to have max_len and return driver lenhathach
2021-05-27more include clean uphathach
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-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
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-01-15Normalize line endingsNathan Conrad
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-14clean up compiler attributehathach
2018-12-11remove pipe handle in host mschathach
2018-12-10host msc built but got hardfault with inquiry commandhathach
2018-12-07able to build with host mschathach
2018-11-23rename xfer complete enumhathach
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-11-22rename CFG_TUSB_MEM_SECTION to CFG_TUSB_MEM_SECTIONhathach
2018-06-18rename subfolder source to srchathach