Ha Thach
0af07f1cff
Merge branch 'master' into warning
2024-11-14 10:25:52 +07:00
Ha Thach
6f11f99f98
Merge pull request #2875 from hathach/hil-dwc2
2024-11-13 20:02:01 +07:00
hathach
401a704804
clean up
2024-11-13 19:32:57 +07:00
hathach
98bc480f73
retry test up to 2 times, somehow open serial failed randomly with rp2040
2024-11-13 18:23:58 +07:00
hathach
202aaa49ad
change test order (no cdc or msc back to back).
2024-11-13 17:34:22 +07:00
hathach
3ee3658dad
skip max3421e metro m4 for now, due to cdc output too fast.
2024-11-13 17:01:54 +07:00
hathach
9ff02daa56
improve hil for dual cdc, close cdc once done
2024-11-13 16:20:41 +07:00
hathach
6776c7171e
fix hil set matrix
2024-11-13 15:06:39 +07:00
hathach
42ead3a8e0
hil cleanup flahser
2024-11-13 13:37:29 +07:00
hathach
aeae2966a2
hil add stm32f723disco, add test flags for device/host/dual
2024-11-13 13:08:30 +07:00
hathach
839ec17292
fix example build
2024-11-12 22:03:13 +07:00
hathach
e391e33492
update host/device_info to build with freertos for espressif board. Add hil test for host/device_info
2024-11-12 19:00:00 +07:00
hathach
65e741937a
fix build filter for esp32
2024-11-11 21:40:03 +07:00
hathach
3c564fd947
try adding host test for p4
2024-11-11 18:40:31 +07:00
hathach
d8970506a6
hil replace f407disco by h743nucleo
2024-11-11 17:33:02 +07:00
hathach
57c8c223e5
correctly test dwc2 dma device for s3, disable for p4 (cache issue) and f407 fs (slave only)
2024-11-11 16:42:08 +07:00
hathach
13f78e2e77
add esp32p4 to hil
2024-11-11 16:07:33 +07:00
Ha Thach
a8903d3152
Merge pull request #2854 from roma-jam/fix/esp32p4_device
2024-11-10 15:25:52 +07:00
Ha Thach
fde947b124
fix typo
2024-11-10 12:55:13 +07:00
Ha Thach
449753ae69
Merge branch 'master' into fix/esp32p4_device
2024-11-10 12:40:52 +07:00
Ha Thach
9d86ca1777
Merge pull request #2870 from hathach/hcd-dwc2
...
Implement Host Driver support for synopsys dwc2
2024-11-09 00:10:32 +07:00
hathach
3831786ede
minor clean up
2024-11-08 22:53:28 +07:00
hathach
c8d104fb47
fix warnings
2024-11-08 21:55:23 +07:00
hathach
5d00488907
get hcd work esp32p4 but only in slave mode. In DMA channel's HCDMA is increased but data transfer over USB is not correct.
2024-11-08 17:23:43 +07:00
Roman Leonov
f5c5aaf017
fix(tusb.h): Fixed backward comatibility for port selection
2024-11-07 13:28:55 +01:00
hathach
ab8160a29b
hcd work with esp32p4 in slave mode but have issue with DMA mode. In slave it enumerate device but has issue with msc bulk in
2024-11-07 16:37:33 +07:00
hathach
48b32f5d1e
enable host dwc2 dma by default
2024-11-07 15:18:09 +07:00
hathach
9920ebff4a
update bsp for h7 to support host mode
2024-11-07 15:04:19 +07:00
hathach
4baeeeb564
enable stm32f4 host
2024-11-07 09:49:04 +07:00
hathach
772edf879b
fix iar build
2024-11-06 22:13:05 +07:00
hathach
e5c26924ed
update bsp for f7
2024-11-06 21:46:18 +07:00
hathach
fe79a93594
implement split for slave, got mouse working
2024-11-06 12:09:32 +07:00
hathach
fbc193647a
split interrupt work with fs mouse
2024-11-05 16:26:56 +07:00
hathach
372db1e19a
implement split transaction, got control working
2024-11-05 10:37:39 +07:00
hathach
5f891e020c
usbh use the new tusb_time_delay_ms_api()
...
fix duplicated device attach for some devices which cause "USBH Defer Attach until current enumeration complete"
include dev0 for tuh_edpt_abort_xfer()
2024-11-04 17:24:49 +07:00
hathach
29262f3e24
improve port0_enable(), properly configure hcfg and hfir according to port speed. Enable low power UTMI+ phy mode for ls/fs device.
2024-11-04 17:22:25 +07:00
hathach
80ad7c4e87
add tusb_time_millis_api() and default/weak tusb_time_delay_ms_api(). Which is required for host and some device without RTOS.
2024-11-04 17:20:58 +07:00
hathach
5d6d905cb0
got interrupt in working with slave
2024-11-02 20:20:27 +07:00
HiFiPhile
038be21e4d
Merge pull request #2713 from rgrr/ncm-fix-in-tud_network_recv_renew
...
NCM: avoid recursions in tud_network_recv_renew()
2024-11-01 22:22:31 +01:00
HiFiPhile
b648a38ae8
Fix Warning[Pe188]: enumerated type mixed with another type.
2024-11-01 19:49:00 +01:00
hathach
a0f75e5b67
fix slave in nak & ack order
2024-11-02 00:20:40 +07:00
hathach
c96e04159e
implement periodic endpoint using sof
2024-11-01 21:31:01 +07:00
hathach
4f288c030a
move buffer and buflen to hcd_endpoint_t to support periodic endpoint
2024-11-01 20:58:29 +07:00
hathach
b1182de872
clean up is_period
2024-11-01 19:04:32 +07:00
hathach
b7ff10f59c
rename and add both CFG_TUH_DWC2_SLAVE_ENABLE/CFG_TUH_DWC2_DMA_ENABLE better out dma handle
2024-11-01 17:54:10 +07:00
hathach
4c8ce9733a
dma host work well with bulk/control
2024-11-01 16:55:12 +07:00
hathach
f7f80e844c
do ping for slave out when nak/nyet
2024-10-31 23:22:49 +07:00
hathach
9afa64014c
testing hcd with dma, work well after enumeration.
2024-10-31 21:37:57 +07:00
hathach
9897a36ac4
fix f7 ci build
2024-10-31 12:11:47 +07:00
hathach
92e7ac6c23
fix bulk out and txfifo_empty(), should not rely on hcchar_bm.ep_size for OUT. msc explorer seems to work well.
2024-10-31 10:50:09 +07:00