summaryrefslogtreecommitdiff
path: root/src/class/msc/msc.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-07-11add tud_msc_inquiry2_cb() for full inquiry responsehathach
2023-06-28Fix minor spellingDevin Auclair
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2021-05-27more include clean uphathach
2020-12-20Fix scsi_mode_sense6_t padding, which cause IAR compiler internal error.HiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2020-01-15Normalize line endingsNathan Conrad
2019-06-06add TU_ prefix to compiler ATTR to prevent name conflict with applicationhathach
2019-05-14update license year to 2019hathach
2019-03-20migrate license from BSD 3 clause to MIThathach
2019-02-22mscd: send scsi status before invoke read10/write10/scsi complete callbackhathach
2019-02-20Fix write protected MSC. The bits were flipped.Scott Shawcroft
2018-11-23remove pragma GCC diagnostichathach
2018-11-09Exempt from strict warnings for struct packing and add MCU optionsScott Shawcroft
2018-11-07Add SAMD21 and SAMD51 support for CircuitPython.Scott Shawcroft
The ProtoThreads style subtasks were removed because it led to extremely unclear control flow. RTOSes can be used if threading is needed. Also added some additional functionality to MSC to support dynamic LUNs and read-only LUNs.
2018-10-23clean up msc devicehathach
2018-08-13rename VERIFY to TU_VERIFY to avoid conflict with applicationhathach
2018-07-26rename some scsi command struct, add SCSI_CMD_MODE_SENSE_6 to built-in ↵hathach
support command
2018-07-26add tud_msc_set_sense(), update msc device to reponse with default sense ↵hathach
(illegal request) when there is issue with scsi command
2018-07-25add SCSI_CMD_REQUEST_SENSE into device msc built-in commandhathach
2018-07-25clean up device mschathach
2018-07-25update msc examplehathach
2018-07-25add scsi start stop unit struct, improve device msc, correctly stall ↵hathach
unsupported scsi command
2018-07-04add CFG_TUD_MSC_VENDOR,CFG_TUD_MSC_PRODUCT, CFG_TUD_MSC_PRODUCT_REV for msc ↵hathach
inquiry response
2018-06-18rename subfolder source to srchathach