4349 Commits

Author SHA1 Message Date
NConrad
9588c3fac9 USBD: When SET_FEATURE(ENDPOINT_HALT), the DTOG must be reset. 2024-04-16 10:19:16 +07:00
Ha Thach
50738f2ab4 Merge pull request #2588 from hathach/support-ra2a1
Enhance dcd rusb2, support ra2a1 pipe number scheme
2024-04-16 00:16:18 +07:00
hathach
6328301bb6 revert to use __builtin_ctz() for optimized time 2024-04-15 23:56:55 +07:00
Ha Thach
fb21b6a67d Merge pull request #2134 from clhenry/non-bus-powered-re-enumeration
Non-bus-powered MSP430 support.
2024-04-15 23:14:10 +07:00
hathach
bf649988ef add blocking delay for msp430 with max 25mhz 2024-04-15 12:06:13 +07:00
HiFiPhile
049ceda315 Implement dcd_edpt_close_all() 2024-04-11 22:02:59 +02:00
HiFiPhile
dfef0bc81b Cleanup 2024-04-11 22:01:57 +02:00
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
HiFiPhile
adc7a78fd6 Merge branch 'master' of github.com:HiFiPhile/tinyusb into vendor_fifo 2024-04-08 21:44:14 +02: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