3635 Commits

Author SHA1 Message Date
Ha Thach
6144da9602
Merge pull request #2574 from HiFiPhile/fsdev
FSDEV fix/cleanup.
2024-04-11 21:11:27 +07:00
Clifroy Henry
5d3b0896e1
Removed trailing whitespace. 2024-04-11 20:57:40 +07:00
Clifroy Henry
a3286932ad
Correctly implementing recommended workarounds for erratas USB4 and USB10. 2024-04-11 20:57:40 +07:00
Clifroy Henry
b8b22b929e
Allow re-enumeration on host power cycle. 2024-04-11 20:57:39 +07:00
Clifroy Henry
5a9b3eab6f
Resolve erroneous data on enumeration. 2024-04-11 20:57:38 +07:00
Clifroy Henry
87905d30ab
Increase bus powe stabilization delay. 2024-04-11 20:57:37 +07:00
Clifroy Henry
0ce2452a08
Add non-bus-powered MSP430 re-enumeration support. 2024-04-11 20:57:37 +07:00
hathach
0f775630c7
rename, invert logic for iso_in_sending. Also limit its usage to ISO endpoint 2024-04-11 20:53:44 +07:00
hathach
535571c3d2
- remove redundant call of pcd_set_ep_rx_cnt()
- minor code format
2024-04-11 19:25:02 +07:00
hathach
b992b6d7a6
apply find_pipe() and forloop for hcd 2024-04-11 12:06:13 +07:00
hathach
79cbe93fcf
separate flush tx/rx fifo 2024-04-11 11:02:54 +07:00
HiFiPhile
03cfe90f3e flush fifo in dcd_edpt_close_all() 2024-04-10 22:21:53 +02:00
hathach
daf1c7303c
fix mask typo for brdysts when using pipe9 2024-04-10 20:09:11 +07:00
hathach
241e436d19
support ra2a1 pipe numbering, fix ra2a1 ek led/button. Though usb not enumerated yet, probably due to bsp/clock setup 2024-04-10 19:17:23 +07:00
hathach
fb69d80e70
use for loop instead of__builtin_ctz() which is not portable (e.g with ccrx) 2024-04-10 18:26:56 +07:00
hathach
a173e6ed13
revert pr2245 2024-04-10 17:02:35 +07:00
Luke A
804a73a454
Adding tuh_hid_get_report(...) to hid_host.h
This allows USB host functionality to call HID_REQ_CONTROL_GET_REPORT on the IN Endpoint, and read the report buffer in the callback.
2024-04-10 15:46:57 +07:00
Ha Thach
b0829ed999
Merge pull request #2586 from hathach/fix-2097 2024-04-10 10:36:27 +07:00
hathach
1e41b9725a
remove the usage of TU_BIT() and TU_GENMASK() from tusb_types.h 2024-04-10 10:13:36 +07:00
hathach
724ef1af8d
set txfifo empty level to complete and change back fifo tx to normal size 2024-04-10 09:58:43 +07:00
HiFiPhile
402b084646 Format doc. 2024-04-09 23:00:29 +02:00
HiFiPhile
146c3c6945 Cleanup. 2024-04-09 22:59:48 +02:00
HiFiPhile
c0824472e8 Enable double buffer only for PMA > 1024b 2024-04-09 22:15:18 +02:00
HiFiPhile
472996e2bf Ignore spurious RX interrupt. 2024-04-09 18:32:03 +02:00
HiFiPhile
973d29acd0 Rework ISO double buffering. 2024-04-09 18:32:03 +02:00
HiFiPhile
41fb2b69f7 Rework macro according to ST driver. 2024-04-09 18:32:03 +02:00
HiFiPhile
bf3e9b8653 Refactor edpt_xfer(), support double buffering in dcd_pma_alloc(). 2024-04-09 18:32:02 +02:00
HiFiPhile
00db422745 Cleanup ep/pma free, ISO ep should use alloc/activate. 2024-04-09 18:32:02 +02:00
hathach
2bce68a065
Merge branch 'master' into dwc2-interrupts 2024-04-09 22:04:43 +07:00
Ha Thach
a5b109b699
Merge pull request #1580 from MatiMcFly/master
Fixing Renesas register write protection and some compiler warnings in static code analysis
2024-04-09 17:25:23 +07:00
hathach
6c2f71ad19
make veryfi static in ccrx consistent with the rest 2024-04-09 17:12:15 +07:00
HiFiPhile
b0568e32a5 Fix tud_video_n_streaming check 2024-04-09 11:11:06 +02:00
Matthias Schär
5c7876d444
Fixed behavior of the PRCR register. Previous write protection will be recovered. 2024-04-09 12:13:38 +07:00
Ha Thach
42decf28f1
Merge pull request #1835 from MasterQ32/otg_bringup
Implements deinit functions for host/device mode switch
2024-04-08 23:48:52 +07:00
hathach
be25a3fc20
revert usbd driver name change to be backward compatible 2024-04-08 22:56:22 +07:00
hathach
4bc6a5feb7
fix unused warning 2024-04-08 22:22:00 +07:00
hathach
366564e952
fix missing if mutex required 2024-04-08 22:13:05 +07:00
hathach
c3c0648456
add class driver deinit 2024-04-08 22:07:56 +07:00
Felix "xq" Queißner
47c12a07f2
Implements tuh_deinit() and tud_deinit() to uninitialize host/device mode. 2024-04-08 19:00:35 +07:00
Ha Thach
d33fe38a62
Merge pull request #1363 from tobozo/master
HID Mouse with absolute positioning
2024-04-08 18:33:40 +07:00
Ha Thach
b90eccccfd
Merge pull request #2575 from HiFiPhile/dwc2_free
dwc2: remove fifo free code.
2024-04-08 18:27:21 +07:00
Ha Thach
872864e397
Merge pull request #2567 from HiFiPhile/iso_alloc
ISO endpoint allocation improvments
2024-04-08 16:24:50 +07:00
hathach
cbbfbbb57e
add cpuctl and pinctl to tuh_configure() option for max3421 2024-04-08 13:16:08 +07:00
HiFiPhile
e642066562 Move TUP_DCD_EDPT_ISO_ALLOC outside usbd_edpt_close() loop. 2024-04-06 19:02:50 +02:00
HiFiPhile
e160366a1e dwc2: remove fifo free code. 2024-04-05 19:12:28 +02:00
hathach
c97c3418c7
minor update bsp 2024-04-05 20:31:55 +07:00
hathach
1c5abc835f
Merge branch 'master' into MCX 2024-04-05 17:59:38 +07:00
hathach
5ce4585884
fix pre-commit format 2024-04-05 17:14:51 +07:00
hathach
caf2c5e0b7
reverted un-related file changes 2024-04-05 17:04:33 +07:00
Ha Thach
5738757e2c
Merge pull request #2421 from antoniovazquezblanco/debug
Log outbound xfer bytes while in debug
2024-04-04 18:34:26 +07:00