summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-03-30Revert back to simple edpt_disable()/edpt_activate() inside ↵gab-k
dcd_edpt_iso_activate(), Clear active EP bit in edpt_disable()
2026-03-30hcd rp2 add double buffered for control endpoint transfers.hathach
2026-03-29Merge pull request #3566 from Precidata/async-cleanupZixun LI
Couple of random cleanup patches following async PR
2026-03-28Clear DOEPCTL_USBAEP instead of setting DOEPCTL = DOEPCTL_SNAKgab-k
2026-03-28rp2 common refactorhathach
2026-03-28Minimize changes in ISO OUT reset fixgab-k
2026-03-28Add nrf54lm20 dwc2 infogab-k
2026-03-28fix ISO OUT stale state on alt-setting switch with different MPSgab-k
2026-03-28host epx clean uphathach
2026-03-27osal/mynewt: fix queue receive tiemoutHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-03-27Merge pull request #3570 from IntegraSources/mtp-changesZixun LI
mtp: fixes in add_string
2026-03-27fix string overflowHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-03-27refactorhathach
2026-03-27rename and clean uphathach
2026-03-27fix E15 workaround issue with out of order in double buffer. device bulk ↵hathach
rx/tx ping-pong double buffered all working well
2026-03-27clean up hw_endpoint_open(), still has issue with E15 and ping-pong (slow read).hathach
2026-03-26implement ping-pong double buffered for both tx and rxhathach
2026-03-25fix e4 incorrect buf with incorrect buf_id = 1hathach
2026-03-25mtp: fix adding empty cstring to mtp_container_infostepan chepushtanov
2026-03-25update hcd to handle interrupt per bufhathach
2026-03-24handle buf_status in per buffer basic (INTERRUPT_PER_BUFFER), this allows us ↵hathach
to sync/move half data payload instead of waiting for pair complete. Refactor endpoint control and buffer handling functions for clarity and efficiency.
2026-03-23add rp2040 sof + stop_trans on nak. increase nak_poll fs/ls delay to 300 us ↵hathach
to prevent xfer is ack while stopping.
2026-03-23Revert "Make driver init() function optional"Ha Thach
2026-03-22Unifiy Device and Host sideCédric Berger
2026-03-22net: save actual ep_size from descriptor in netd_open instead of hardcoding ↵copilot-swe-agent[bot]
64/512 Co-authored-by: HiFiPhile <[email protected]> Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/4c20b579-db28-4643-b062-81881adcf6c1
2026-03-22net: cache ep_size in local variable in ncm_device.c xmit_insert_required_zlpcopilot-swe-agent[bot]
Co-authored-by: HiFiPhile <[email protected]> Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/5d355974-2223-4071-8d14-b6d4ac1fd030
2026-03-22net: remove CFG_TUD_NET_ENDPOINT_SIZE, manage ZLP based on real speed in driverscopilot-swe-agent[bot]
Co-authored-by: HiFiPhile <[email protected]> Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/5d355974-2223-4071-8d14-b6d4ac1fd030
2026-03-22net: upgrade net_lwip_webserver to separate FS/HS descriptors and add ↵copilot-swe-agent[bot]
bInterval to TUD_CDC_NCM_DESCRIPTOR Co-authored-by: HiFiPhile <[email protected]> Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/e212b526-e279-4a83-88bf-a742df293165
2026-03-22Remove unused defineCédric Berger
2026-03-22Simplify tud_task() like in tuh_task()Cédric Berger
2026-03-22False negative in tuh_task_event_ready()Cédric Berger
2026-03-22False positive in tuh_task_event_ready()Cédric Berger
2026-03-22We must wait at least the requested amountCédric Berger
2026-03-21Don't crash on driver without init()Cédric Berger
Handle init() like deinit()
2026-03-20clean uphathach
2026-03-20Add support for EPX preemption on RP2350 during NAK conditionshathach
2026-03-19Add EPX transfer scheduling when hcd_edpt_xfer() is called while epx is busyhathach
2026-03-19Merge branch 'refs/heads/master' into rp2040-hcd-epxhathach
2026-03-19rp2 disable hwfifohathach
2026-03-18Merge pull request #3559 from hathach/fix-fsdev-midi-host-bugsHa Thach
Fix bugs in FSDEV HCD/DCD and MIDI host stream write
2026-03-18fix bugs in fsdev hcd, dcd and midi host stream writehathach
- hcd_edpt_clear_stall: use ep_addr instead of hardcoded 0 (control endpoint) - hcd: add TUP_USBIP_FSDEV_DRD define for MCUs with host support (C0, G0, H5, U3, U5) and use it in hcd compile guard instead of enumerating MCUs - dcd_edpt_close_all: use FSDEV_EP_COUNT instead of CFG_TUD_ENDPPOINT_MAX for PMA btable offset to match handle_bus_reset - midi host tuh_midi_stream_write: add missing cable_num to system messages, SysEx, and real-time MIDI packets. Add 0xF mask for SysEx CIN checks. Aligns with midi_device.c tud_midi_n_stream_write implementation. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-03-18Merge pull request #3557 from hathach/hil-host-cdcHa Thach
add more hil tests
2026-03-18ch58x: code cleanup and minor fixesalt-0191
2026-03-18dcd_ch58x: fix toggle, SETUP race, and bus reset handlingalt-0191
- Switch from AUTO_TOG to manual toggle for all endpoints to fix toggle mismatch after clear-stall causing bus resets - Fix SETUP race condition: track ep0_completion_pending and setup_pending to avoid arming stale EP0 transfers - Defer Set Address to ISR after status ZLP is ACK'd - Improve bus reset: reset all EPs, clear pending state - Fix EP4 DMA macro to correctly map to EP0 base (0x10) - Move CH58X_UIS_TOG_OK to common section (used by both DCD/HCD) - Add #ifndef guards for BOARD_TUD/TUH_RHPORT in board.h - Track isochronous per direction: isochronous[ep][dir] - NAK EP0 OUT on completion to prevent premature data acceptance
2026-03-18ch58x: fix build flags and driver bugsalt-0191
2026-03-18ch58x: fix MCU macro naming and add get_deps/boards entriesalt-0191
2026-03-18add WCH CH58x (CH582/CH583) BSP and USB FS device/host driveralt-0191
2026-03-18Update HID host to correctly handle protocol mode initialization and ↵hathach
CONFIG_GET_REPORT_DESC response
2026-03-18fix hid_generic_inout for TUD_ENDPOINT_ONE_DIRECTION_ONLY MCUshathach
Use separate endpoint numbers (EP1 OUT, EP2 IN) on MCUs with shared FIFO that cannot support the same endpoint number in both directions. Also add missing static qualifier to print_musb_info(). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-03-17CFG_TUH_HID_SET_PROTOCOL_ON_ENUM option to skip set_protocol on enum, ↵hathach
default is 1