Commit Graph

24 Commits

Author SHA1 Message Date
hathach
e9a78c52d0 add tud_msc_inquiry2_cb() for full inquiry response 2025-07-11 15:24:17 +07:00
Devin Auclair
98fb10a724 Fix minor spelling 2023-06-28 14:03:18 -04:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
9ad6fadf6a more include clean up 2021-05-27 18:34:07 +07:00
HiFiPhile
13e6afd589 Fix scsi_mode_sense6_t padding, which cause IAR compiler internal error.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2020-12-20 22:56:39 +01:00
Nathan Conrad
25c1bea782 Normalize line endings 2020-01-15 14:47:43 -05:00
hathach
13e01c7dca add TU_ prefix to compiler ATTR to prevent name conflict with application 2019-06-06 10:39:37 +07:00
hathach
61ec407752 update license year to 2019 2019-05-14 11:48:05 +07:00
hathach
c211ee19dd migrate license from BSD 3 clause to MIT 2019-03-20 16:11:42 +07:00
hathach
f2d76a39eb mscd: send scsi status before invoke read10/write10/scsi complete callback 2019-02-22 01:31:13 +07:00
Scott Shawcroft
c870efffc0 Fix write protected MSC. The bits were flipped. 2019-02-20 15:12:36 -08:00
hathach
394a22ecf7 remove pragma GCC diagnostic 2018-11-23 15:25:25 +07:00
Scott Shawcroft
537a29273c Exempt from strict warnings for struct packing and add MCU options 2018-11-09 00:10:44 -08:00
Scott Shawcroft
c582c0fda9 Add SAMD21 and SAMD51 support for CircuitPython.
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-11-07 12:02:28 -08:00
hathach
f339ac7a6a clean up msc device 2018-10-23 12:48:49 +07:00
hathach
e07b1acbed rename VERIFY to TU_VERIFY to avoid conflict with application 2018-08-13 18:10:23 +07:00
hathach
e362f5fd64 rename some scsi command struct, add SCSI_CMD_MODE_SENSE_6 to built-in support command 2018-07-26 16:57:30 +07:00
hathach
f5b2912372 add tud_msc_set_sense(), update msc device to reponse with default sense (illegal request) when there is issue with scsi command 2018-07-26 15:59:13 +07:00
hathach
8694285ad2 add SCSI_CMD_REQUEST_SENSE into device msc built-in command 2018-07-25 23:56:06 +07:00
hathach
226a4f8816 clean up device msc 2018-07-25 22:51:43 +07:00
hathach
93db46292a update msc example 2018-07-25 22:35:02 +07:00
hathach
d2ab4db25e add scsi start stop unit struct, improve device msc, correctly stall unsupported scsi command 2018-07-25 16:56:57 +07:00
hathach
fc139b009f add CFG_TUD_MSC_VENDOR,CFG_TUD_MSC_PRODUCT, CFG_TUD_MSC_PRODUCT_REV for msc inquiry response 2018-07-04 15:00:46 +07:00
hathach
424735d440 rename subfolder source to src 2018-06-18 14:05:24 +07:00