Commit Graph

3965 Commits

Author SHA1 Message Date
hathach
4012e15075 move core init code to dwc2 common. update/correct build for esppressif 2024-10-15 17:55:24 +07:00
hathach
10a3aa3cc8 adding hcd dwc2 2024-10-15 13:03:12 +07:00
hathach
e83e08343a change dcd_init() return from void to bool 2024-10-14 19:42:22 +07:00
hathach
1f18be93db change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
hathach
1587d48e89 hcd_init() take init struct 2024-10-11 17:53:39 +07:00
hathach
f3b7d7515e fix fuzzing build 2024-10-11 16:00:51 +07:00
hathach
d997f0071e change dcd_init() to take rhport struct 2024-10-11 15:31:49 +07:00
hathach
92602b9de3 change tusb_init(), tusb_rhport_init() to use init struct for expandability 2024-10-11 13:41:53 +07:00
hathach
57aac432b5 add new tusb_int_handler(rhport, in_isr) as common irq handler
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
hathach
1406ad84e3 remove debug code 2024-10-10 11:05:32 +07:00
hathach
98e94a5d6d enhance dwc2 2024-10-10 00:08:46 +07:00
hathach
07c14f30a6 add f407disco to hil pool 2024-10-10 00:08:46 +07:00
hathach
599bb0c822 improving dwc2, merging diep and doep if possible 2024-10-10 00:08:45 +07:00
hathach
b2a98eadab add stm32f769disco to hil pool 2024-10-10 00:08:45 +07:00
hathach
cb5e273e9a enhance dwc2 markdown with field mapping 2024-10-10 00:08:41 +07:00
Ha Thach
65242fd11f Merge pull request #2720 from YixingShen/master
fixed video_device.c _find_desc_format
2024-10-07 11:12:53 +07:00
Ha Thach
a13dbd4452 Merge pull request #2809 from shuffle2/master
make all python files executable and standardize interpreter
2024-10-07 11:11:54 +07:00
hathach
73f7ce7103 U0 does not have dwc2 controller 2024-10-04 17:26:14 +07:00
hathach
db15f63736 Merge branch 'master' into fork/Maerdl/master 2024-10-02 18:22:06 +07:00
Haefner, Martin
3fa7da95bd support stm32U0 device 2024-10-01 15:24:11 +02:00
hathach
49d250be8f Merge branch 'master' into add-esp32p4 2024-10-01 00:18:24 +07:00
HiFiPhile
53989a99f6 Fix vendor class reset. 2024-10-01 00:03:01 +07:00
hathach
87f1993304 esp32p4 use port0 as fs, port1 as highspeed 2024-09-30 11:53:19 +07:00
hathach
67e5577b42 added p4, seems to work well and enumerated 2024-09-30 11:53:18 +07:00
hathach
7e472fa3ca try to add esp32 p4 and esp-idf v5.3 support 2024-09-30 11:53:18 +07:00
hathach
bb2d1dd0c1 update/rename ghwcfg registers 2024-09-30 11:53:17 +07:00
hathach
47233f863a update to dwc2 register struct 2024-09-30 11:53:17 +07:00
HiFiPhile
e483c6a2ad Add a note about data cache. 2024-09-24 21:30:16 +02:00
hathach
6a15e7875c more rename 2024-09-24 18:12:01 +07:00
hathach
a1244381b3 add CFG_TUD_DWC2_DMA, make it compile time option 2024-09-24 17:55:15 +07:00
hathach
86b4608365 update dfifo allocation scheme to use top pointer, update document and explanation for EPInfo address and GDFIFO.
some function rename
update h743 linker to use SRAM1 since USB DMA cannot access DTCM ram
update xmc4500 to use uuid for testing
2024-09-24 17:38:31 +07:00
hathach
9bfb3e7787 Merge branch 'refs/heads/master' into fork/HiFiPhile/dwc2_dma 2024-09-18 18:01:28 +07:00
Shawn Hoffman
616532892d make all python files executable and standardize interpreter 2024-09-17 12:17:12 -07:00
Ha Thach
4b107a2b9e Merge pull request #2450 from HiFiPhile/vendor_fifo
Allow vendor class to be used without FIFO.
2024-09-11 10:10:06 +07:00
hathach
9b4bb61cbd ep stream init: wrap with OSAL_MUTEX_REQUIRED, only create fifo mutex if needed 2024-09-10 20:41:01 +07:00
hathach
7909a62569 fix warnings 2024-09-10 18:47:58 +07:00
hathach
dd1822ba03 reduce ep stream footprint by using is_mps512 since it only support bulk so far 2024-09-10 18:37:53 +07:00
hathach
3ab63fbc65 remove vendor ep_addr, use stream api instead 2024-09-10 18:27:22 +07:00
hathach
7373a02396 minor clean up 2024-09-10 18:13:38 +07:00
hathach
bbeae09259 update vendor device to use edpt stream which also support non-buffereed (no fifo) mode 2024-09-10 17:45:03 +07:00
hathach
cc816dc9c0 change edpt stream api to take hwid from API to reduce memory footprint 2024-09-10 17:41:20 +07:00
hathach
c0030810dd update edpt_stream to support non-buffered (no fifo) mode 2024-09-10 16:15:51 +07:00
hathach
867f17acea change vendor device to use edpt stream API 2024-09-10 10:44:22 +07:00
HiFiPhile
7867464694 Merge branch 'master' into dwc2_dma 2024-09-08 17:15:28 +02:00
HiFiPhile
3eea46056e Merge pull request #2788 from dp111/cppcheck
make function prototypes match functions( found by cppcheck)
2024-09-04 20:06:47 +02:00
hathach
0bb7b992d8 dwc2: for esp32 force disconnect/connect using USB_WRAP otg pad override (DM=DP=0) in addition to dwc2's dctrl 2024-09-04 20:56:04 +07:00
dp111
8ab1e4fbd0 make function prototypes match ( found by cppcheck) 2024-09-03 19:38:34 +01:00
HiFiPhile
4349e99fb2 Merge pull request #2786 from dp111/breakinside
Put break inside #if
2024-09-02 13:50:59 +02:00
HiFiPhile
ee551909b2 Merge pull request #2783 from donatieng/don/bth_device-zlp
Bluetooth Device: Issue ZLP on ACL IN ep when transfer is multiple of endpoint max packet size
2024-09-02 13:50:44 +02:00
Ha Thach
29e025cbf5 Merge pull request #2731 from cumhuronat/master
Fix: Properly Handle NAK Response in MAX3421E driver
2024-08-30 18:10:15 +07:00