Commit Graph

686 Commits

Author SHA1 Message Date
2dcb1a3ee2 Merge branch 'master' into dwc2_deinit 2026-03-04 17:34:10 +07:00
8444c25ab6 replace board_millis() with tusb_time_millis_api() 2026-02-28 00:01:40 +07:00
7ea02fd6c9 add osal_time_millis() to osal requirement
implement tusb_time_millis_api() with osal_time_millis() when OS is not NONE
2026-02-27 23:42:40 +07:00
ecc0e12dd5 Merge remote-tracking branch 'tinyusb/master' into dwc2_deinit
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-02-27 11:47:58 +01:00
a3fd3071c1 Fix IAR warnings
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2026-02-27 11:46:54 +01:00
56fca0076a refactor, rename to schedule function with usbh_call_after_ms() to use with enumeration delay 2026-02-26 14:33:04 +07:00
75adb35f35 Update tusb_verify.h 2026-02-11 16:23:11 +01:00
1586e80ffe Introduce CFG_TUSB_DEBUG_BREAKPOINT hook 2026-02-11 15:25:48 +01:00
86ca8fe717 remove no-fifo mode in edpt stream API
update vendor_device.c for direct usbd xfer when either RX/TX BUFSIZE is 0 i.e CFG_TUD_VENDOR_TXRX_BUFFERED = 0
2026-01-14 10:50:39 +07:00
d5362220f3 Fix compiler warning 2026-01-12 15:16:03 -05:00
4c86cbdc82 enable dedicated hwfifo for rp2 2026-01-09 18:40:55 +07:00
e69494d94a fix pre-commit, clean up tusb_mcu.h, add at32f45x to ci build 2026-01-09 10:47:50 +07:00
271edeb35b Merge branch 'master' into fork/zhiqiang-ch/master 2026-01-09 10:38:47 +07:00
593dce2834 Merge pull request #3441 from hathach/fifo-access-mode
HWFIFO access-mode refactor and stride-aware FIFO fixes across FSDEV/RUSB2/MUSB
2026-01-06 09:42:16 +07:00
9de3e108b4 fix more typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-06 01:11:13 +07:00
2026391b17 fix typo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-01-06 01:10:39 +07:00
1c19fc5408 rename FSDEV_PMA_SIZE CFG_TUSB_FSDEV_PMA_SIZE 2026-01-06 00:58:23 +07:00
20d009daa1 enable dedidcated hwfifo for musb with odd access with 16-bit and 8-bit 2026-01-06 00:36:17 +07:00
74e59e433d fix hwfifo pull/push n with address stride > 0 2026-01-05 22:50:23 +07:00
a9479f5ad9 update hcd rusb2 to use tu_hwfifo read/write 2026-01-04 17:02:16 +07:00
d457ea3d3c fix build with dwc2 2026-01-03 17:52:58 +07:00
ea23966aa7 add default access mode for tu_hwfifo API make it easier for non-custom read/write 2026-01-03 15:37:22 +07:00
e158a3dd38 hwfifo support custom write/read
rusb use custom write
enable all hil test for ra4m1
2026-01-03 15:06:54 +07:00
c87f0db459 add tu_hwfifo_access_t param to hwfifo API 2026-01-03 00:47:40 +07:00
b87c2fcc9f refactor hwfifo pull/push 2026-01-02 23:57:48 +07:00
36e8f9d7a1 support multiple data stride if configured 2026-01-02 17:16:02 +07:00
0b638c5d74 rusb2 use tu_hwfifo API to write usb packet 2026-01-01 22:42:46 +07:00
9ab605ef0b change signature of tu_hwfifo_* to have hwfifo as first parameter 2026-01-01 12:51:05 +07:00
009750c747 minor refactor 2026-01-01 11:59:29 +07:00
111247337c replace PMA buffer packet read/write by using tu_hwfifo API 2025-12-31 22:18:05 +07:00
9b5c7761cc add separate tu_hwifo_*() with data from buffer/software fifo. Remove duplicated packet write/read for fsdev 2025-12-31 17:48:09 +07:00
f20ad05d71 update tu_fifo to work with fsdev hwfifo with increased address 16/32bit 2025-12-31 16:26:24 +07:00
8544db8bf5 Merge branch 'hathach:master' into master 2025-12-31 14:53:29 +08:00
d61ed92220 re-branding fixed address fifo read/write to stride mode 2025-12-31 01:11:40 +07:00
4e43988980 tusb_fifo remove item_size make it fifo of bytes 2025-12-30 18:12:32 +07:00
239e20ba73 support for the AT32F45X series 2025-12-30 10:44:03 +08:00
b3dd0a113a Do not randomly include stm32h7xx.h
Enable D-Cache unless we're compiling for the M4 core of a dual-core H7 mcu by directly testing CORE_CM4
2025-12-26 17:25:25 +01:00
49a8529dcf clean up cmake, remove family_get_project_name() 2025-12-19 12:33:42 +07:00
7f4a761513 remove the usage snprintf 2025-12-19 11:08:49 +07:00
abf27bfa37 Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-12-16 20:47:37 +01:00
22534a6019 Merge remote-tracking branch 'tinyusb/master' into support-nxp-rw612
Signed-off-by: Zixun LI <admin@hifiphile.com>
2025-12-16 11:51:42 +01:00
ba3319d90d support hpmicro chips
Signed-off-by: Zhihong Chen <zhihong.chen@hpmicro.com>
2025-12-16 13:08:30 +08:00
0a9e05f47a make fifo access mode fixed addr work with 16 bit also 2025-12-16 00:19:13 +07:00
e65e79bb81 add back tu_fifo_discard_n() since it may be useful in the future. 2025-12-12 12:43:12 +07:00
2f5d4dbab3 fix edpt stream write/read to endpoint not yet opened 2025-12-12 00:51:57 +07:00
711879b2f1 remove bitfield in usbd_device_t state to reduce code size 2025-12-12 00:27:20 +07:00
b73003745f move host hacked bulk mps out of tu_edpt_validate() 2025-12-11 16:41:33 +07:00
ef018e364e refactor usbh_class_driver_t's open() to return number of driver len instead of bool. help to simplify parsing configuration 2025-12-11 15:58:10 +07:00
702be8da51 refactor binding ep and interface to driver 2025-12-11 11:49:01 +07:00
a412a8e50d hw/mcu: add support for NXP RW612 2025-12-10 23:04:39 +01:00