diff options
| author | Zixun LI <[email protected]> | 2026-07-29 14:27:59 +0200 |
|---|---|---|
| committer | Zixun LI <[email protected]> | 2026-07-29 15:56:12 +0200 |
| commit | 8f287a9e8ea6073f1970a4bf6993ade3a9db620d (patch) | |
| tree | 7404b73c6002d752333a76bb24ccdb47988877b9 /src/common/tusb_mcu.h | |
| parent | 529fd0532ae6eeb13b1ac8dc87381c6560e3a995 (diff) | |
raw_gadget: fix MSC recovery after endpoint haltraw_gadget_review
Allow opt-in DCDs to queue transfers behind a halted endpoint without changing hardware DCD behavior.
Retry dummy_hcd's transient EP_SET_HALT failure, queue MSC BOT status and recovery requests behind the halt, and clean up Raw Gadget endpoint workers across bus reset.
Signed-off-by: Zixun LI <[email protected]>
Diffstat (limited to 'src/common/tusb_mcu.h')
| -rw-r--r-- | src/common/tusb_mcu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/tusb_mcu.h b/src/common/tusb_mcu.h index 7ef589bf0..a1f799ed9 100644 --- a/src/common/tusb_mcu.h +++ b/src/common/tusb_mcu.h @@ -730,6 +730,7 @@ #elif TU_CHECK_MCU(OPT_MCU_LINUX_RAW_GADGET) #define TUP_DCD_ENDPOINT_MAX 16 #define TUP_RHPORT_HIGHSPEED 1 + #define CFG_TUD_ENDPOINT_XFER_BEHIND_HALT_DEFAULT 1 #endif // External USB controller |
