8569 Commits

Author SHA1 Message Date
hathach
3c1cb0e08f
correct the fifo_available comparison (words not byte) 2024-10-29 22:48:58 +07:00
hathach
616b5770f2
fix pid token calculation, implement hcd_edpt_clear_stall(). msc explorer example read work, but write10 still wip 2024-10-29 21:54:21 +07:00
hathach
074811c251
refactor channel_send_in_token(), support IN token for multiple transaction per transfer 2024-10-29 19:08:45 +07:00
hathach
df55d587df
update handle in/out, separate allocated and xfer result to make it easier to manage. Fix channel disable/deallocated. 2024-10-29 18:23:56 +07:00
hathach
1e164412bf
split handle channel slave out/in 2024-10-29 16:06:44 +07:00
hathach
cef9bab4b5
minor clean up 2024-10-29 15:07:28 +07:00
hathach
4797c4f508
fix nptx fifo empty handling 2024-10-29 14:47:44 +07:00
hathach
c93d3eda5f
restructure, add hcd endpoint, xfer to minimize footprint for managing xfer. 2024-10-29 13:01:48 +07:00
hathach
f953b6bf92
minor rename 2024-10-28 18:40:21 +07:00
hathach
dd99da9dce
implement hcd_edpt_abort_xfer, hcd_device_close,
check request queue available before making usb attempt. Though there is no handling when queue is full.
device_info example work well
2024-10-28 17:45:44 +07:00
hathach
79c0a249e8
got In transfer working, able to get 1st device descriptor and set address 2024-10-25 22:56:25 +07:00
hathach
77fa2f6701
fix make build 2024-10-25 19:27:09 +07:00
hathach
07abc722b6
hcd able to send setup packet 2024-10-25 19:00:45 +07:00
hathach
063661e3a3
more progress on dwc2 hcd, initial code for edpt xfer 2024-10-25 00:20:34 +07:00
hathach
8461525d48
add tusb_time_millis(), able to reset and enable dwc2 port and get SOF active 2024-10-21 18:18:33 +07:00
hathach
f5978876d2
get hprt interrupt triggered 2024-10-21 11:43:37 +07:00
hathach
61b33ca926
testing hcd with f723 due to h743eval issue with mfx vbus drive. 2024-10-18 22:16:21 +07:00
hathach
42b6f30eda
add VBUS drive via MFX for h743 eval, but does not seems to work yet 2024-10-18 18:33:50 +07:00
hathach
b5a4f18879
get hpri triggered 2024-10-17 15:56:12 +07:00
hathach
8d9d3d9a2a
move gahbcfg/gintmsk with dma to dwc2 common 2024-10-16 13:19:28 +07:00
HiFiPhile
8b1e40c3e2
Merge pull request #2846 from pschatzmann/rp2040-audio-corrections
Rp2040 audio corrections / Merge to master
2024-10-15 23:59:36 +02:00
pschatzmann
87a35c5734 RP2040 Compile Errors 2024-10-15 23:38:16 +02:00
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
Ha Thach
933ac29d77
Merge pull request #2836 from hathach/more-tusb_init()
change tusb_init() to use init struct
2024-10-14 21:38:45 +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
Ha Thach
a4fb8354e4
Merge pull request #2834 from hathach/add-tusb_int_handler-update-tinyusb_init
add new tusb_int_handler(rhport, in_isr) and update tusb_init(rhport, role)
2024-10-10 17:00:40 +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
Ha Thach
ffdf81f53a
Merge pull request #2833 from hathach/update-dwc2
more dwc2 enhance
2024-10-10 11:34:05 +07:00
hathach
1406ad84e3
remove debug code 2024-10-10 11:05:32 +07:00
hathach
ba3a5b4374
clion files 2024-10-10 10:48:25 +07:00
hathach
c3437961b8
remove stm32f769disco since it is not reliable 2024-10-10 00:08:47 +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
Ha Thach
6bfd024137
Merge pull request #2824 from Maerdl/master
support stm32U0 device
2024-10-04 17:51:58 +07:00
Ha Thach
4e0d5343b4
Merge pull request #2827 from hathach/ci-dwc2-dma
Ci dwc2 dma
2024-10-04 17:51:34 +07:00
hathach
31c123aa32
update new json change 2024-10-04 17:38:57 +07:00
hathach
73f7ce7103
U0 does not have dwc2 controller 2024-10-04 17:26:14 +07:00
hathach
0abd6474d9
fix circleci set-matrix 2024-10-04 17:10:13 +07:00
hathach
790a107287
revert hfp dma for now, due to ci build matrix 2024-10-04 17:05:45 +07:00