summaryrefslogtreecommitdiff
path: root/src/class/msc
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.
2026-06-24cap tud_msc_scsi_cb bufsize to endpoint buffer sizedxbjavid
2026-02-11device/msc: only defer prepare_cbw() from STATUS_SENT when EP OUT stalledhathach
2026-01-26device/msc: skip command stage if EP out is stalledZixun LI
Signed-off-by: Zixun LI <[email protected]>
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-11Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-11-08fix more alertshathach
2025-11-08Merge remote-tracking branch 'origin/fix-alerts-3' into fix-alerts-3hathach
# Conflicts: # src/class/cdc/cdc_device.h # src/class/msc/msc_device.c # src/common/tusb_debug.h
2025-11-07fix more alerts found by pvs-studiohathach
2025-11-07Apply suggestions from code reviewHa Thach
Co-authored-by: Copilot <[email protected]>
2025-11-07fix more alerts found by pvs-studiohathach
2025-10-31Merge remote-tracking branch 'tinyusb/master' into ↵HiFiPhile
copilot/fix-dcd-edpt-xfer-issue Signed-off-by: HiFiPhile <[email protected]>
2025-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
2025-10-22Add is_isr parameter to usbd_edpt_xfer and usbd_edpt_xfer_fifocopilot-swe-agent[bot]
- Added bool is_isr parameter to usbd_edpt_xfer() and usbd_edpt_xfer_fifo() wrapper functions - These are called by class drivers to queue USB transfers - Updated all callers to pass false by default (non-ISR context) - Updated audiod_rx_xfer_isr() and audiod_tx_xfer_isr() to pass true (ISR context) - All 21 unit tests pass Co-authored-by: HiFiPhile <[email protected]>
2025-09-17Update weak callbacks to new syntaxHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-08-01add bufsize to tud_msc_inquiry2_cb()hathach
2025-07-11add tud_msc_inquiry2_cb() for full inquiry responsehathach
2025-07-01defer proc_async_io_done()hathach
2025-07-01update examplehathach
2025-07-01refactor async io, add in_isr argument to tud_msc_async_io_done()hathach
use cbw.command[0] for pending IO command
2025-06-22Merge branch 'master' into async_ioHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-04-17fix iar make build with wb and u5hathach
2025-04-11Merge remote-tracking branch 'upstream/master' into async_ioHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-02-07fix stringop-overread warning for msc device with memmovehathach
2025-02-02Fix CI.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-01-31Use return code to choose async io.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2025-01-29msc_device: add async IO support.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2024-11-27fix multiple flag on compilinghathach
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-11-22apply TUD_EPBUF_DEF for device: bth, dfu, hid, mschathach
2024-11-22msc_device.c declare and separate epbuf from interface struct, make cbw and ↵hathach
csw as normal variable. Also reformat code
2024-11-21make sure usb buffer occupies whole cache line when DCACHE is enabled for ↵hathach
msc,cdc,hid HIL enable device DMA for p4
2024-05-08Merge pull request #2532 from acscd/masterHiFiPhile
Added support for SCSI_CMD_PREVENT_ALLOW_MEDIUM_REMOVAL
2024-04-08add class driver deinithathach
2024-03-22Add files via uploadacscd
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
2024-01-20msc_device: Fix check for including MSC lookup tablesJonathan Zentgraf
The _msc_scsi_cmd_lookup and _msc_scsi_cmd_table variables are needed when logging is enabled for the MSC device via CFG_TUD_MSC_LOG_LEVEL. Update the preprocessor check around them to use that definition when deciding whether to define those variables. Closes #2419
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-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-20improve logging, allow easier to turn off usbd, driver logginghathach
can be useful when focusing on let's say usbh
2023-06-28Fix minor spellingDevin Auclair
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