4ed45cf9bc
update PORTSC1
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2026-03-05 16:23:24 +01:00
7088dc528b
ci_hs: add deinit support
...
Signed-off-by: Zixun LI <admin@hifiphile.com >
2026-03-05 16:09:39 +01:00
97476872aa
Merge pull request #3378 from hathach/dwc2_deinit
...
Add DWC2 deinit support
2026-03-05 21:47:41 +07:00
70c93adc2f
improve threadx support, add multi ROTS support for board_test and msc_dual_lun
2026-03-05 17:51:57 +07:00
0427fcfd02
Merge branch 'master' into fork/armusin/threadx_osal
2026-03-05 13:00:45 +07:00
1efe4cd0e8
add hs_phy_type parameter to dwc2_phy_deinit for selective PHY deinitialization across all MCUs
2026-03-05 10:01:40 +07:00
2dcb1a3ee2
Merge branch 'master' into dwc2_deinit
2026-03-04 17:34:10 +07:00
30af158af9
add PHY deinitialization support for DWC2 driver across all MCUs
2026-03-04 17:30:40 +07:00
13e0b0c4f1
Merge pull request #3490 from Precidata/non-blocking-host-v2
...
Fully asynchrounous host code (v2)
2026-03-04 15:24:11 +07:00
a8abc31bf4
Merge branch 'master' into dwc2_deinit
2026-03-03 18:42:36 +07:00
2a27bd9db0
more call_after timeout adjustment with rtos
2026-03-02 22:32:15 +07:00
d9a7d1023c
improve timeout adjustment, exit tuh_task() by timeout_ms = 0
2026-03-02 20:07:16 +07:00
4fa4d39883
fix(dcd/dwc2): Do not modify FS PHY registers on HS PHY ESP32-P4
2026-03-02 12:29:09 +01:00
4df7ef5439
fix call_after timeout adjustment with rtos
2026-03-02 17:51:48 +07:00
0daa444a9b
- rename to usbh_defer_func_ms_async()
...
- call after (enum non-blocking delay) also support rtos now
2026-03-02 15:05:28 +07:00
bf76bb88e0
Merge pull request #3514 from sauloverissimo/fix/midi-device-cable-demux
...
midi device: add cable-aware stream read (tud_midi_n_demux_stream_read)
2026-03-01 16:19:48 +01: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
66c4d470eb
add back deferred attachment queue, retry get hub port status if reset change not set after 20ms
2026-02-27 22:39:42 +07:00
22acfb6267
cleanup
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-02-27 11:53:02 +01: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
fd933642df
fix fallthrough
2026-02-26 18:02:09 +07:00
abdf3452ac
revert usbh dedicated queue for attached event
2026-02-26 17:35:03 +07: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
4d402194dc
midi device: add cable-aware stream read (tud_midi_n_demux_stream_read)
...
The existing tud_midi_n_stream_read() accepts a cable_num parameter but
ignores it — all cables share a single FIFO and stream parser state, so
data from different virtual cables is silently mixed together.
Add tud_midi_n_demux_stream_read() which returns the cable number of the
data that was actually read. It peeks at each USB-MIDI event packet
header before consuming it and stops when the next packet belongs to a
different cable, allowing callers to dispatch per-cable without losing
data.
Implementation details:
- Mirrors the host-side tuh_midi_stream_read() approach: tu_edpt_stream_peek
for cable inspection, CIN-based byte count (USB MIDI 1.0 Table 4-1),
leftover handling via existing midi_driver_stream_t
- *p_cable_num initialized to 0xff sentinel so callers can detect
"no data" even when return value is 0
- Cable-change check (total_read > 0 guard) covers both leftover-originated
reads and freshly consumed packets
- TU_VERIFY uses explicit != NULL comparisons, consistent with codebase style
- Note: shares stream->buffer with tud_midi_n_stream_read(); do not mix
calls on the same interface
- Adds single-interface convenience wrapper tud_midi_demux_stream_read()
Closes #1838
2026-02-25 12:38:44 -03:00
da21dab358
fix CDC host FTDI multiple channel loop
...
fix typos for ftdi_process_set_config()
add J-Link GDB + RTT logging instructions
2026-02-25 10:05:22 +07:00
f179b2957d
refactor: streamline high-speed PHY detection and configuration in DWC2 driver
2026-02-23 21:08:06 +07:00
1eef6f4f4f
refactor: improve high-speed PHY handling and FIFO configuration in DWC2 driver
2026-02-23 15:34:59 +07:00
942479407e
Merge branch 'hathach:master' into non-blocking-host-v2
2026-02-22 21:39:14 +01:00
e947af26c6
Apply suggestions from code review
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-22 13:33:29 +01:00
b585df168a
refactor speed check
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-02-22 11:22:38 +01:00
dafb0d2bf4
check femtoPHY speed
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-02-21 17:34:11 +01:00
167a507146
fix ci
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-02-21 17:03:06 +01:00
c5ec572396
refactor config option
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2026-02-20 13:57:34 +01:00
7e61770971
Fix a couple indentations
2026-02-19 23:30:25 +01:00
c8265a3709
Introduce TUH_CFGID_PHY_SPEED configure option
2026-02-19 23:03:32 +01:00
db1ff5d169
Better variable/function names
2026-02-19 23:00:27 +01:00
59feef3208
add(usbh.c): LOG1 debug message when no address available for hub
2026-02-14 11:52:52 +01:00
f0b44ec615
use CFG_TUD_CONFIGURE_DWC2_DEFAULT to make it easier to add more value
2026-02-13 22:29:14 +07:00
8f14cf4bfa
add CFG_TUD_VBUS_SENSE, that could allow to skip tud_configure() for fixed vbus sensing
...
simplify dwc2_stm32_gccfg_cfg() using guid value
2026-02-13 19:45:09 +07:00
35a90f213d
Merge branch 'refs/heads/master' into dwc2_vbus
2026-02-13 01:10:55 +07:00
30802a19c9
Merge remote-tracking branch 'origin/master' into msc_stall
2026-02-11 23:58:41 +07:00
b5c84aa140
device/msc: only defer prepare_cbw() from STATUS_SENT when EP OUT stalled
2026-02-11 23:44:39 +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
90d0514630
Put deferred attachments in a separate queue
2026-02-11 15:06:27 +01:00
2808b65a0e
Call continuation functions asynchronously
2026-02-11 15:05:25 +01:00
2f1b6296c6
Split functions calling tusb_time_delay_ms_api()
2026-02-11 15:04:04 +01:00
6e675da608
Merge branch 'hathach:master' into threadx_osal
2026-02-09 12:22:20 +04:00