mirror of
https://github.com/hathach/tinyusb.git
synced 2026-08-18 11:02:16 +00:00
dcd: route samd/rusb2/ip3511/nrf5x through iso alloc/activate
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HeF2gZ1M7GWkz6Av4BpKPg
This commit is contained in:
@ -141,7 +141,6 @@
|
||||
#elif TU_CHECK_MCU(OPT_MCU_NRF5X)
|
||||
// 8 CBI + 1 ISO
|
||||
#define TUP_DCD_ENDPOINT_MAX 9
|
||||
#define TUP_DCD_EDPT_CLOSE_API
|
||||
|
||||
#elif TU_CHECK_MCU(OPT_MCU_NRF54)
|
||||
#define TUP_USBIP_DWC2
|
||||
@ -741,11 +740,9 @@
|
||||
#define TU_ATTR_FAST_FUNC
|
||||
#endif
|
||||
|
||||
#if defined(TUP_USBIP_IP3511) || defined(TUP_USBIP_RUSB2)
|
||||
#define TUP_DCD_EDPT_CLOSE_API
|
||||
#endif
|
||||
|
||||
// USBIP implement dcd_edpt_close() and does not support ISO alloc & activate API
|
||||
// TUP_DCD_EDPT_CLOSE_API is deprecated: these USBIPs implement dcd_edpt_close() and lack the
|
||||
// ISO alloc & activate API. IP3511, RUSB2 and NRF5X have been migrated to ISO_ALLOC; the remaining
|
||||
// CLOSE_API MCUs (mm32, pic, da1469x, f1c100s, ch32-usbhs) are pending per-board verification.
|
||||
#ifndef TUP_DCD_EDPT_CLOSE_API
|
||||
#define TUP_DCD_EDPT_ISO_ALLOC
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user