cb2af4c0bc
minor debug log
2022-12-21 11:46:58 +07:00
6a2cf67289
Fix typos
2022-12-04 19:43:23 +07:00
7298923927
rework tuh_msc_complete_cb_t signature to use new tuh_msc_complete_data_t
...
add user arg to all scsi command API that support complete callback
2022-11-23 16:01:48 +07:00
64ecf43663
whitespace
2022-11-21 11:53:15 +07:00
a0ef489890
fix all warnings with host rp2040
2022-06-27 17:11:24 +07:00
0042eccb3b
fix redundant-decls warnings by usbd/usbh
2022-06-24 22:52:11 +07:00
4f6e770eda
add more warning option, also fix -Wconversion with rp2040
...
-Wuninitialized, -Wunused, -Wredundant-decls
2022-06-24 19:46:19 +07:00
821be65b03
rename usbh_edpt_open() to tuh_edpt_open()
2022-03-19 14:59:31 +07:00
4795cca04a
add parse config descriptor to example
...
move usbh_edpt_open() to public API, remove rhport from its signature
2022-03-19 00:43:31 +07:00
8750e3b577
move daddr into xfer struct
2022-03-18 16:39:35 +07:00
f89ff939d8
rename user_arg to user_data
2022-03-17 22:37:51 +07:00
55428d7dd2
rename tuh_control_xfer_t to tuh_xfer_t
2022-03-17 20:52:16 +07:00
8aedb2ff37
slightly change the signature of tuh_control_xfer
2022-03-17 17:25:53 +07:00
66942b814b
change return type of callback to void
2022-03-17 16:55:29 +07:00
deab8c276a
remove const in xfer callback
2022-03-17 16:53:54 +07:00
6df420f7f3
move result into transfer struct
2022-03-17 16:24:43 +07:00
68bfd048a5
change tuh_control_xfer_t struct
2022-03-17 12:53:52 +07:00
98d4ed0584
update hid host to use new control xfer for set config
2022-03-16 18:44:41 +07:00
ec28593ce5
update hid,msc to new usbh control API
2022-03-11 22:13:57 +07:00
5b7a01ba79
Merge pull request #1350 from hathach/enhance-multipl-ports
...
Enhance rhports management
2022-02-26 01:00:07 +07:00
8eeda60bd0
Set the standard inquiry response additional length field.
...
* The standard inquiry response additional length field needs to be set to
the length in bytes of the remaining standard inquiry data (i.e. N - 5),
otherwise the kernel driver issues a warning about short inquiry response..
2022-02-25 18:42:23 +02:00
309540473b
minor house keeping
2022-02-25 22:26:35 +07:00
31aa077cb0
rename TUSB_OPT_HOST_ENABLED to CFG_TUH_ENABLED
2022-02-25 18:35:21 +07:00
d10326cb4e
rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
...
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25 18:35:21 +07:00
46f4f7ff49
minor rename set sense function
2022-02-15 22:53:23 +07:00
391edc7afb
msc example response PREVENT_ALLOW_MEDIUM_REMOVAL command as unsupported command
...
LUN1 of msc_disk_dual will be set to not ready to simulate medium not
present (e.g SD card removed)
2022-02-15 22:40:08 +07:00
456c06aa5e
add tud_msc_request_sense_cb() as weak callback
...
set default error sense to NOT READY, Medium not present
2022-02-14 18:17:49 +07:00
07829510e7
Merge branch 'tannewt-rpi' into generalize-synopsys-dwc2
2021-10-26 23:43:35 +07:00
dbd31895bc
change usage of TU_CHECK_MCU() to prevent macro conflict
2021-10-25 17:04:03 +07:00
a5f516893b
more with -Wcast-qual
2021-10-17 16:36:53 +07:00
7596cb3079
update some sense warning from -Wconversion
2021-10-15 15:54:32 +07:00
d9bda631d4
Merge pull request #1120 from hathach/enhance
...
house keeping update
2021-10-01 23:31:21 +07:00
7708997a67
change scsis status to phase error when total_bytes < block_count
2021-09-30 20:14:23 +07:00
db862ae725
Assure msc device block size is not zero
2021-09-27 21:11:44 +02:00
2499c9382d
rpi start. doesn't work
2021-09-17 16:51:34 -07:00
25ea8f9c9e
update configuration parser
2021-09-14 21:02:38 +07:00
f47e5402fa
add msc workaround for cxd56
2021-09-07 13:30:51 +07:00
fa030075c2
Revert "Fix for MSC during stage STATUS"
...
This reverts commit 2e23f3dd72 .
2021-09-06 19:26:28 +07:00
2e23f3dd72
Fix for MSC during stage STATUS
2021-09-03 18:13:45 +02:00
15fa2f447b
add back edpt check before cbw, since bot reset can occurred any time
2021-09-01 16:53:12 +07:00
90dc9bc289
revert previous changes, edpt stall also clear any pending (not complete) transfer
2021-09-01 12:42:45 +07:00
ab0c3e8dd0
fix rp2040 chapter 9 TD 9.6 test
2021-08-31 17:41:08 +07:00
fdf1ff545f
responding with status per-spec in test case 4
2021-08-29 15:44:27 +07:00
4e3ed8159e
passed all USBCV bot complaince test
2021-08-29 13:34:47 +07:00
ee18cc42f2
msc handle more test, passed Command Self Test compliant
2021-08-29 12:06:10 +07:00
be98cd56c7
update msc to be more robuse
...
add more log, pass more complaint test
2021-08-29 00:29:29 +07:00
53ea1e1324
fix msc test case 8 and 10
2021-08-27 23:52:59 +07:00
c6b9f8a530
fix msc case 3 complaint test
2021-08-27 23:33:11 +07:00
e01239ccc9
more msc refactoring
2021-08-27 20:05:56 +07:00
2667ce6981
fix BOT case 2 test compliant
2021-08-27 17:50:02 +07:00