summaryrefslogtreecommitdiff
path: root/src/class/msc/msc_host.c
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-11-08fix more alertshathach
2025-11-07fix more alerts found by pvs-studiohathach
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-11-26msc host, use usbh_get_enum_buf() for set_config() processhathach
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-08-15more minor clean uphathach
- also rename usbh_classdriver.h to usbh_pvt.h to consitent with usbd
2023-08-07fix host msc get maxlun not using aligned section memoryhathach
2023-08-02default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to ↵hathach
selectively disable usbd/usbh or driver log
2023-05-28Fixes bug in tuh_msc_readygitlab
2023-05-16correct EHCI reporting failed xfer (instead of stalled) when device is unpluggedhathach
2023-03-24separate CFG_TUSB_MEM_SECTION and CFG_TUSB_MEM_ALIGN tohathach
- CFG_TUD_MEM_SECTION and CFG_TUD_MEM_ALIGN - CFG_TUH_MEM_SECTION and CFG_TUH_MEM_ALIGN - fix missing mem section and align for host
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-12-21minor debug loghathach
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-06-27fix all warnings with host rp2040hathach
2022-03-19rename usbh_edpt_open() to tuh_edpt_open()hathach
2022-03-19add parse config descriptor to examplehathach
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-18move daddr into xfer structhathach
2022-03-17rename user_arg to user_datahathach
2022-03-17rename tuh_control_xfer_t to tuh_xfer_thathach
2022-03-17slightly change the signature of tuh_control_xferhathach
2022-03-17change return type of callback to voidhathach
2022-03-17remove const in xfer callbackhathach
2022-03-17move result into transfer structhathach
2022-03-17change tuh_control_xfer_t structhathach
2022-03-16update hid host to use new control xfer for set confighathach
2022-03-11update hid,msc to new usbh control APIhathach
2022-02-25minor house keepinghathach
2022-02-25rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLEDhathach
2021-10-17more with -Wcast-qualhathach
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-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-05-31fix cast-align warning in msc hosthathach
2021-05-27more include 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