summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-04-14Merge branch 'hathach:master' into big-endian-for-setup-packetsDang Fan
2026-04-13introduce two more macros to follow tinyusb's styleFan DANG
2026-04-13fix(device): big-endian host support for SETUP packet handlingFan DANG
1. Add TU_LITTLE_ENDIAN_BITFIELD / TU_BIG_ENDIAN_BITFIELD macros in tusb_compiler.h (GCC and IAR), following Linux kernel style. 2. Update bmAttributes (tusb_desc_endpoint_t) and bmRequestType_bit (tusb_control_request_t) in tusb_types.h to use these macros with explicit #error fallback if undefined. 3. Add tu_le16toh() conversion in dcd_event_setup_received() for wValue/wIndex/wLength. Tested on CIU98320B (big-endian ARM Cortex-M, full-speed HID keyboard).
2026-04-10Update src/portable/synopsys/dwc2/dcd_dwc2.cHa Thach
Co-authored-by: Copilot <[email protected]>
2026-04-10clean uphathach
2026-04-10fix DWC2 FIFO depth values for STM32 familieshathach
2026-04-10add dwc2_clock_init() to have nrf54 initial sequence. currently stub for ↵hathach
other ports. add board_uart_read() for nrf
2026-04-09rename ep_fifo_size (bytes) to otg_dfifo_depth (words)hathach
2026-04-09Add initial board support for nRF54LM20 DKgab-k
2026-04-02Apply suggestion from @CopilotHa Thach
Co-authored-by: Copilot <[email protected]>
2026-04-02rp2040: fix RP2350 hard fault in unaligned_memcpy to USB DPRAMhathach
Use volatile byte accesses to prevent the compiler from widening the byte-by-byte copy loop into 16/32-bit accesses, which cause a hard fault on RP2350 when targeting USB DPRAM (device memory). Closes #3554
2026-04-02Merge pull request #3561 from hathach/rp2040-hcd-epxHa Thach
rp2 hcd rework: epx for non-interrupt and ping-pong double buffered
2026-04-01fix issue caused by merging active + pending statehathach
2026-04-01reduce code size, use state to replace active + pendinghathach
2026-03-31finally get rp2040 host epx working with 2-sof solution for switchinghathach
2026-03-31host abort transfer on short packet in double buffer.hathach
2026-03-30Merge pull request #3575 from gab-k/dwc2-iso-out-resetZixun LI
fix ISO OUT endpoint failure on alt-setting MPS change
2026-03-30Revert unintentional removal of commentgab-k
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-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