Commit Graph

1633 Commits

Author SHA1 Message Date
hathach
d82ee79bd0 - in case of mdk conflict to use nrfx v2
- allow to force nrfx version with CFG_TUD_NRF_NRFX_VERSION=1
2024-04-16 11:55:03 +07:00
hathach
37a05e0264 revert nvic changes 2024-04-16 11:23:38 +07:00
Hardy Griech
c535a4d42b catch all nrfx versions with an old API 2024-04-16 11:18:47 +07:00
Hardy Griech
2567fe3fd8 softdevice nvic calls only if old SDK 2024-04-16 11:18:46 +07:00
Hardy Griech
1b0ec6b1bd make it compile also with old Nordic SDK 2024-04-16 11:18:45 +07:00
hathach
e1c3b5aeab minor update to sof 2024-04-16 10:57:54 +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
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
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
4bc6a5feb7 fix unused warning 2024-04-08 22:22:00 +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
b90eccccfd Merge pull request #2575 from HiFiPhile/dwc2_free
dwc2: remove fifo free code.
2024-04-08 18:27:21 +07:00
hathach
cbbfbbb57e add cpuctl and pinctl to tuh_configure() option for max3421 2024-04-08 13:16:08 +07: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
hathach
93fb3b00de fix build with gcc 11 2024-04-04 12:51:07 +07:00