summaryrefslogtreecommitdiff
path: root/src/class/msc/msc_device.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-10-28fix Identifiers that start with '__' or '_[A-Z]' are reserved.hathach
fix compiling with nuc family
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-01refactor async io, add in_isr argument to tud_msc_async_io_done()hathach
use cbw.command[0] for pending IO command
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-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
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2022-02-14add tud_msc_request_sense_cb() as weak callbackhathach
set default error sense to NOT READY, Medium not present
2021-08-27update msc driver to pass MSC BOT error recovery compliant testhathach
2021-05-27include clean uphathach
2020-11-19migrate cdc_device to new control_xfer_cbhathach
2020-11-19merge class driver control_request & control_complete to control_xfer_cb()hathach
migrated msc_device
2020-07-17add new name warning to cdc and midi (skip msc, hid warning for now)hathach
2020-07-16rename CFG_TUD_MSC_BUFSIZE to CFG_TUD_MSC_EP_BUFSIZEhathach
rename CFG_TUD_HID_BUFSIZE to CFG_TUD_HID_EP_BUFSIZE
2020-05-27changing usbd driver open() return type, add max_lenhathach
only done with cdc and msc, push this interim for feedback first
2020-01-15Normalize line endingsNathan Conrad
2019-07-24Merge branch 'master' into develophathach
2019-07-24change tud_msc_start_stop_cb() to return void -> boolhathach
2019-07-19more house keepinghathach
2019-07-12clean up, rename internal driver control_request_complete to simply ↵hathach
control_complete
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-14update license year to 2019hathach
2019-05-07clean uphathach
2019-05-06adding msc Start Stop to buitin command, but not complate yethathach
add tud_msc_start_stop_cb() as optional callback
2019-05-06add Test Unit Ready to builtin command, add tud_msc_test_unit_ready_cb()hathach
- rename tud_msc_maxlun_cb to tud_msc_get_maxlun_cb
2019-05-03add tud_msc_inquiry_cb() remove CFG_TUD_MSC_VENDOR/PRODUCT/PRODUCT_REVhathach
2019-05-01text clean uphathach
2019-04-26add msc multiple lun supporthathach
- remove CFG_TUD_MSC_MAXLUN - add tud_msc_maxlun_cb() - add msc_dual_lun exmaple
2019-04-19move interface descriptor template to usbd.h, update exmaplehathach
2019-04-18wrap up hid device refactorhathach
2019-04-17add interface descriptor templatehathach
2019-04-11clean uphathach
2019-03-27remove tud_msc_ready()hathach
2019-03-27cleanup, remove the use of _TINY_USB_SOURCE_FILE_hathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2018-12-12change usbd xfer_cb return type to boolhathach
2018-12-12change class driver open return type to boolhathach
2018-12-12rename edpt_dir/number/addr to tu_edpt_*hathach
2018-11-28add Auto descriptor endpoint num config to support lpc17xxhathach
CFG_TUD_DESC_*_EPNUM
2018-11-26add OPT_MODE_HIGH_SPEEDhathach
2018-11-23rename tusb_event_t to xfer_result_thathach
2018-11-22msc device block count and block numhathach
- replace CFG_TUD_MSC_BLOCK_NUM & CFG_TUD_MSC_BLOCK_SZ by tud_msc_capacity_cb() (mandatory callback)
2018-11-16nrf5x: refactor device control transfer.hathach
- make control transfer as part of usbd. Class driver must use usbd_control_ API() instead of dcd_ api. - change the signature of class driver's control_request - allow control request complete to stall in staus stage - move control request parser & handling to usbd.
2018-11-08Polish up control split and treat it more like a normal endpoint.Scott Shawcroft