Commit Graph

9787 Commits

Author SHA1 Message Date
2e8d193c73 Merge remote-tracking branch 'tinyusb/master' into hcd_fsdev
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-11-27 12:01:33 +01:00
b997ec7258 usbd: clear state and call callback on deinit
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-11-27 11:49:30 +01:00
a25e9e86c8 Remove redundant EP reg clear
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-11-27 11:35:25 +01:00
9742ba734f Add fsdev_deinit
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-11-27 11:34:37 +01:00
5d56828e43 extract core reset
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-11-27 11:02:49 +01:00
5ef55bfa30 Merge pull request #3359 from hathach/xfer-fifo
remove ep buffer for port with dedicated hw fifo
2025-11-27 11:42:31 +07:00
8cf2c3b00b re-enable other hil tests 2025-11-27 11:04:35 +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
270e149276 reorganize ctr_rx workaround
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-11-26 14:27:16 +01:00
26a73df158 add tu_scatter_read32(), tu_scatter_write32() to simplify tu_fifo 2025-11-26 17:56:18 +07:00
37df71cae4 Merge remote-tracking branch 'tinyusb/master' into hcd_fsdev 2025-11-26 11:10:34 +01:00
a965e1fa4b Update doc
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-11-26 11:10:21 +01: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
67ba8eab2e focus on cdc test, write lots more data, each trunk is 64 or less since examples having minimum 64 bytes fifo (fs) 2025-11-26 13:54:04 +07:00
38842491bb Merge pull request #3369 from hathach/misc_fix
Few misc fixes
2025-11-26 08:46:31 +07:00
8205b6094f Merge pull request #3368 from hathach/disable_isr
bsp: Disable SysTick ISR if FreeRTOS is enabled
2025-11-26 08:35:05 +07:00
a445e8c3b3 hcd/fsdev: more refactor
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-25 23:02:17 +01:00
adcfc4bd26 Update README.rst 2025-11-25 22:45:40 +01:00
03bd8c26d6 fsdev: reorganize functions
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-25 22:45:40 +01:00
fb631c9a40 hcd: add fsdev driver
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-25 22:45:40 +01:00
a4d0df7fcf bsp/stm32c0: use external clock, increase stack size
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-25 22:45:40 +01:00
3f0d2668f1 fifo: fix IAR Warning[Pa082]: undefined behavior: the order of volatile accesses is undefined 2025-11-25 16:41:30 +01:00
91c3b338b2 example: fix audio_debug glitch on Windows 2025-11-25 16:41:30 +01:00
8221ea220b bsp: Disable SysTick ISR if FreeRTOS is enabled 2025-11-25 16:30:32 +01:00
4632a78883 dcd/fsdev: re-enable SBUF for STM32U0, no more issue 2025-11-25 16:16:12 +01:00
12814620f5 Merge pull request #3367 from hathach/n6_build
Fix STM32N6 IAR build
2025-11-25 18:06:58 +07:00
dc083e4d9c Merge remote-tracking branch 'tinyusb/master' into n6_build
Signed-off-by: Zixun LI <zli@ogga.fr>
2025-11-25 10:59:43 +01:00
e59b2c40fc Fix N6 build
Signed-off-by: Zixun LI <zli@ogga.fr>
2025-11-25 10:49:07 +01:00
fee2d2a034 Merge pull request #3360 from Milek7/sb-ep-fix-pr
stm32_fsdev: Fix missed cases in single-buffered isochronous endpoint support.
2025-11-24 18:05:46 +07: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
0f1b249871 Merge pull request #3357 from thamul/master
Fix in multiple example codes, wrong descriptor device qualifier length.
2025-11-21 22:46:55 +01:00
d76ddc695f Also fix bDescriptorType
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-11-21 22:11:52 +01: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
183c5ef027 Fix in multiple example codes, wrong descriptor length was taken for tusb_desc_device_qualifier_t.
Signed-off-by: Thomas Rubin <thomas.rubin2@protonmail.com>
2025-11-21 14:31:45 +01: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