Commit Graph

4603 Commits

Author SHA1 Message Date
63dea396de revert the usbd_edpt_xfer_fifo guard 2025-12-10 17:01:33 +07:00
69bb4e669b Merge branch 'master' into hwfifo_post 2025-12-10 16:02:25 +07:00
0e48fe8622 Merge pull request #3399 from hathach/size-reduce
edpt stream only support no fifo mode if needed
2025-12-10 12:01:44 +07:00
919ee4b152 update metrics to support bloaty csv 2025-12-10 11:33:31 +07:00
16c92b50b0 update metrics to support bloaty 2025-12-09 19:00:14 +07:00
ae53e2f9ae remove FS MPS assumption
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-12-08 15:43:32 +01:00
e169ab47bb audio_device: use CFG_TUD_EDPT_DEDICATED_HWFIFO flag for FIFO transfer
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-12-08 12:11:00 +01:00
4e365fcef3 usbd: remove dcd_edpt_xfer_fifo ifdef guard
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-12-08 12:11:00 +01:00
c68cd68664 tusb: add HWFIFO flag for supported MCUs
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-12-08 12:11:00 +01:00
e9cd4d823f Merge pull request #3340 from dinsfire64/hid-enum-fix
remove hid host enumeration assumption
2025-12-08 10:40:07 +07:00
2c78a2dd9c edpt stream only support non-fifo mode if needed CFG_TUSB_EDPT_STREAM_NO_FIFO_ENABLED 2025-12-06 02:29:05 +07:00
df6f136003 add linkermap to deps and linkermap taget 2025-12-01 14:46:47 +07:00
7d012b014e fix build with zephyr with latest nrfx v4 2025-11-28 13:34:00 +07:00
6e9e9ce9d1 add CFG_TUD_VENDOR_RX_MANUAL_XFER per suggestion 2025-11-27 23:24:00 +07:00
1465a9b5bc make vendor_read_* API() is only available when CFG_TUD_VENDOR_RX_BUFSIZE > 0
vendor_write_flush() and write_available()  only available when  CFG_TUD_VENDOR_TX_BUFSIZE > 0
2025-11-27 19:14:23 +07:00
9a9bf0fd7b change tud_vendor_rx_cb() behavior, buffer and bufsize only available when CFG_TUD_VENDOR_RX_BUFSIZE = 0
update vendor device to omit ep buf when dedicated hwfifo is supported
2025-11-27 18:41:57 +07:00
f3dc2186ae add tud_vendor_n_read_discard(), refactor vendor device. Update webusb example for more robust 2025-11-27 16:25:19 +07:00
4ef0f61bde add tu_fifo_discard_n() and tu_edpt_stream_discard() 2025-11-27 16:23:00 +07:00
07dfbadc00 correct tu_edpt_stream_read() with non-fifo mode. Fix rhport with vendor device 2025-11-27 10:30:35 +07:00
4affbc1f7b more rename 2025-11-27 09:40:50 +07:00
726497af68 omit cdc epnotify for dedicated hw fifo 2025-11-27 00:16:39 +07:00
d6c50c7ce2 add tud_cdc_n_notify_msg() 2025-11-27 00:03:59 +07:00
02e67c8fa1 more fifo refactor 2025-11-27 00:03:41 +07:00
26a73df158 add tu_scatter_read32(), tu_scatter_write32() to simplify tu_fifo 2025-11-26 17:56:18 +07:00
0fa3002433 omit ep buffer for midi device if device support CFG_TUD_EDPT_DEDICATED_HWFIFO 2025-11-26 16:34:38 +07:00
f63b67211b dwc2 stm32 check if dcache enabled before calling SCB DCache function 2025-11-26 16:15:12 +07:00
c925277e24 change tu_fifo_buffer_info_t layout 2025-11-26 15:26:42 +07:00
1a51a7e159 dwc2 only enable dedicated hwfifo if DMA is not enabled 2025-11-26 14:05:10 +07:00
e1c218f648 Merge branch 'master' into xfer-fifo
# Conflicts:
#	src/common/tusb_fifo.h
2025-11-26 14:03:56 +07:00
3f0d2668f1 fifo: fix IAR Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined 2025-11-25 16:41:30 +01:00
4632a78883 dcd/fsdev: re-enable SBUF for STM32U0, no more issue 2025-11-25 16:16:12 +01:00
50a7d923dd stm32_fsdev: Fix missed cases in single-buffered isochronous endpoint support. 2025-11-23 12:09:21 +01:00
b98127fba2 hil stress test cdc 2025-11-22 17:31:31 +07:00
b7bf1d9835 hil stress test cdc 2025-11-22 11:06:57 +07:00
d9094ffcee implement wanted char for cdc device without ep_buf 2025-11-22 01:02:52 +07:00
7df6e7bd05 implement wanted char for cdc device without ep_buf 2025-11-22 00:56:24 +07:00
793d3b5dd1 more tusb fifo refactor: ff_peek_local() lock mutex if need to correct read pointer. More rename 2025-11-22 00:51:18 +07:00
c9b623aa63 edpt stream support xfer_fifo for device CFG_TUD_EDPT_DEDICATED_HWFIFO
cdc device omit ep buffer when hwfifo is supported
2025-11-21 17:02:56 +07:00
d0d56a51a1 more tu_fifo refactor 2025-11-21 14:51:54 +07:00
d4cdc096ca add more unit tests for tu_fifo 2025-11-21 12:58:28 +07:00
30198b2ab9 refactor tu_fifo, add tu_fifo_write/read/peek_n_access() 2025-11-20 18:35:28 +07:00
aa3aec0034 Revert "add find_hid_desc"
support rare case where hid descriptor is after endpoint descriptor
2025-11-20 11:15:32 +07:00
85adf694e6 Merge remote-tracking branch 'tinyusb/master' into copilot/fix-dcd-edpt-xfer-issue
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-19 22:05:07 +01:00
f6a77b87f0 Bump version to 0.20.0 2025-11-19 23:23:49 +07:00
19fd61603f Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-19 19:20:53 +07:00
e0155eb1d2 fix more alerts 2025-11-19 18:37:15 +07:00
15ed920564 Merge pull request #3076 from HiFiPhile/xfer_close
host/dwc2: cleanup transfer on device close
2025-11-19 18:27:02 +07:00
284895bd9c Merge pull request #3151 from HiFiPhile/lock_cnt
osal/none: add nested count to spin lock
2025-11-19 17:44:32 +07:00
650c4b061c return if spin is underflow 2025-11-19 17:06:19 +07:00
39c78085cc extract to handle_incomplete_iso_in() for readability 2025-11-19 16:24:39 +07:00