Commit Graph

9173 Commits

Author SHA1 Message Date
hathach
fa523a5682 make sure usb buffer occupies whole cache line when DCACHE is enabled for msc,cdc,hid
HIL enable device DMA for p4
2024-11-21 10:22:09 +07:00
Ha Thach
2571889061 Merge pull request #2883 from hathach/feature/esp32p4_dma_cache_syncronization
[DCD_DWC2][ESP32P4][HS] Added cache synchronization (cont)
2024-11-20 23:48:17 +07:00
hathach
c61b55b191 dcd wrap data to dcd_data_t, add padding for setup_packet to match cache line size 2024-11-20 22:04:55 +07:00
hathach
b3b8bd88cb add CFG_TUD_MEM_DCACHE_ENABLE, CFG_TUD_MEM_DCACHE_LINE_SIZE option 2024-11-20 21:30:29 +07:00
hathach
4da5de707b have p4 dma somewhat working but having issue with buffer that does not occupy the whole cache line 2024-11-20 20:38:20 +07:00
Roman Leonov
43a45f29cd feature(dcd_dwc2): Added cache synchronization 2024-11-20 20:35:00 +07:00
Roman Leonov
b8d31a59ee feature(dcd_dwc2): Added cache synchronization 2024-11-20 13:10:23 +01:00
Ha Thach
9e674d4fae Merge pull request #2881 from hathach/enhance-dwc2-dcd 2024-11-19 05:08:07 +07:00
hathach
3fe7e612c8 remove commented code 2024-11-18 23:38:25 +07:00
hathach
ac9bc01132 add CFG_TUD_DWC2_SLAVE_ENABLE = 1 as default 2024-11-18 23:15:17 +07:00
hathach
6d4a60d8ac clean up 2024-11-18 23:07:05 +07:00
hathach
d37707d6dd move handle ep slave/dma wihtin compiler macro 2024-11-18 23:02:17 +07:00
hathach
dab600bea2 merge back and improve edpt_schedule_packets 2024-11-18 17:51:56 +07:00
Ha Thach
b3efa8eb6a Merge pull request #2871 from ebs-universe/master 2024-11-18 15:48:31 +07:00
Ha Thach
fee5ee6f0a Merge pull request #2866 from HiFiPhile/uac_fix
Fix 2 UAC issue
2024-11-18 13:02:23 +07:00
hathach
a2ab783db7 seperate handle_epin_dma/slave 2024-11-18 12:39:00 +07:00
hathach
db7670a3bc separate handle out dma and slave
separate edpt_schedule_packets into epout/epin xfer
2024-11-18 11:35:46 +07:00
Chintalagiri Shashank
c291b831e8 Make HS USB default for STM32H7RS 2024-11-16 12:32:26 +05:30
Chintalagiri Shashank
a780071d20 Add support for STM32H7RSxx 2024-11-16 12:32:26 +05:30
hathach
a68c53fb8e clean up, add typdef for dwc2 type for device 2024-11-14 17:34:14 +07:00
hathach
daef846aa7 rename CFG_TUD_DWC2_DMA to CFG_TUD_DWC2_DMA_ENABLE 2024-11-14 13:26:11 +07:00
Ha Thach
0569188aed Merge pull request #2869 from subsonicpulse/master
Fix Usage of Bootsel Button for Pico 2
2024-11-14 12:46:51 +07:00
hathach
394045f596 Merge branch 'master' into fork/subsonicpulse/master 2024-11-14 10:49:28 +07:00
Ha Thach
7e1c91fac2 Merge pull request #2863 from HiFiPhile/warning
Fix _rhport_role warning
2024-11-14 10:46:52 +07:00
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
3a89442dba use arm arch to detect rp2040 2024-11-11 21:55:30 +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