summaryrefslogtreecommitdiff
path: root/src/class/msc
AgeCommit message (Collapse)Author
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
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-27Merge pull request #1852 from silvergasp/mem_sHa Thach
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27minor clean uphathach
2023-02-22use tu_static instead of static _fuzz_threadhathach
2023-02-22rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_threadhathach
2023-01-20fix: Change all static variables to thread when fuzzingNathaniel Brough
2023-01-13fix: Replace device calls to memcpy with tu_memcpy_sNathaniel Brough
Introduces a new function tu_memcpy_s, which is effectively a backport of memcpy_s. The change also refactors calls to memcpy over to the more secure tu_memcpy_s.
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-11-21whitespacehathach
2022-06-27fix all warnings with host rp2040hathach
2022-06-24fix redundant-decls warnings by usbd/usbhhathach
2022-06-24add more warning option, also fix -Wconversion with rp2040hathach
-Wuninitialized, -Wunused, -Wredundant-decls