summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2026-04-25fix: add BE bitfield guards for audio and fix UAC2 example endian-safe field ↵copilot-swe-agent[bot]
extraction - Add TU_BITFIELD_ORDER guards for audio10_desc_as_iso_data_ep_t.bmAttributes in audio.h - Add TU_BITFIELD_ORDER guards for audio20_control_request_t.bmRequestType_bit in audio.h - Fix cdc_uac2/src/uac2_app.c: replace alias cast with TU_U16_LOW/HIGH field extraction - Fix uac2_headset/src/main.c: replace alias cast with TU_U16_LOW/HIGH field extraction - Fix uac2_speaker_fb/src/main.c: replace alias cast with TU_U16_LOW/HIGH field extraction Addresses review comment: https://github.com/hathach/tinyusb/pull/3597#issuecomment-4320042007 Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/8b695271-74b3-4a26-b3d8-c48ecdf2e481 Co-authored-by: HiFiPhile <[email protected]>
2026-04-24Merge pull request #3597 from canokeys/big-endian-for-setup-packetsZixun LI
fix #3596: big-endian host support for SETUP packet handling
2026-04-23Merge pull request #3590 from ↵Ha Thach
hathach/copilot/extract-hcd-pma-buffer-errata-workaround Refactor STM32 FSDEV PMA errata delay into shared static inline helper and apply to DCD/HCD with overridable timing
2026-04-23Merge pull request #3601 from hathach/fix-conversion-warningsHa Thach
Fix some -Wconversion warnings
2026-04-22Add ESP32-S31 as a supported MCU in TinyUSBigor.masar
2026-04-17use single volatile counterhathach
2026-04-17remove duplicated tu_le16toh since we have converted the endian when setup.Fan DANG
2026-04-17tinyusb.mk: Remove duplicate usbc.c entry.Andrew Leech
Signed-off-by: Andrew Leech <[email protected]>
2026-04-17Merge pull request #3594Ha Thach
Fix musb RXRDY Clearing
2026-04-17fix some Wconversion warningshathach
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-11Fix musb RXRDY ClearingBrent Kowal
Resolves an issue in the musb handle_xfer_out function where not all execution paths cleared the MUSB_RXCSRL1_RXRDY bit, causing the RX interface to hang and no longer communicate with the host. Signed-off-by: Brent Kowal <[email protected]>
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-10debloat the workaroundHiFiPhile
Signed-off-by: HiFiPhile <[email protected]>
2026-04-10Allow STM32 FSDEV delay override macros to satisfy 32-bit guardcopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/b35badc2-444a-4329-b136-f314591cf693 Co-authored-by: HiFiPhile <[email protected]>
2026-04-10Restore errata context comment on inline delay helpercopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/8588a09c-d4e5-4284-8944-47ae4e2a2a1f Co-authored-by: HiFiPhile <[email protected]>
2026-04-10Make fsdev errata delay helper static inlinecopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/8588a09c-d4e5-4284-8944-47ae4e2a2a1f Co-authored-by: HiFiPhile <[email protected]>
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-09Polish FSDEV delay code readabilitycopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3ec0d5b6-cb8e-48ff-8606-3371beb1efcb Co-authored-by: HiFiPhile <[email protected]>
2026-04-09Clarify STM32U0 delay-default frequency usagecopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3ec0d5b6-cb8e-48ff-8606-3371beb1efcb Co-authored-by: HiFiPhile <[email protected]>
2026-04-09Simplify delay loop comment in shared FSDEV helpercopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3ec0d5b6-cb8e-48ff-8606-3371beb1efcb Co-authored-by: HiFiPhile <[email protected]>
2026-04-09Decouple DCON stabilize delay from BTABLE errata macrocopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3ec0d5b6-cb8e-48ff-8606-3371beb1efcb Co-authored-by: HiFiPhile <[email protected]>
2026-04-09Restore compile-time guard for STM32 FSDEV delay defaultscopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3ec0d5b6-cb8e-48ff-8606-3371beb1efcb Co-authored-by: HiFiPhile <[email protected]>
2026-04-09Document and polish shared FSDEV errata delay helpercopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3ec0d5b6-cb8e-48ff-8606-3371beb1efcb Co-authored-by: HiFiPhile <[email protected]>
2026-04-09Refactor STM32 FSDEV PMA errata delay into common helpercopilot-swe-agent[bot]
Agent-Logs-Url: https://github.com/hathach/tinyusb/sessions/3ec0d5b6-cb8e-48ff-8606-3371beb1efcb Co-authored-by: HiFiPhile <[email protected]>
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]>