3530 Commits

Author SHA1 Message Date
HiFiPhile
13bde7af40
uac2: return on clear_feature. 2024-04-25 11:51:05 +07:00
HiFiPhile
5f473d51cf
Fix IAR breakpoint test. 2024-04-25 11:51:04 +07:00
hathach
0f3d6c61b5
port clang stm32: f1, f2, f3 2024-04-23 12:04:08 +07:00
hathach
3fd82cfe22
clang work with lpc55 2024-04-23 10:57:45 +07:00
hathach
db30eee0fc
clang tested with mcb1800, add heap to lpc18 linker 2024-04-22 18:31:11 +07:00
hathach
c097c85dcf
fix print lu format warnings with clang 2024-04-22 16:17:22 +07:00
hathach
62331f0207
fix nrfx v3 spim freq when init
fix clang build with nrf
2024-04-22 15:55:50 +07:00
hathach
2e383bf901
dcd nrf change atoimc_bool to atomic_flag 2024-04-22 12:12:56 +07:00
hathach
9d1d171b0c
- update nrfx to v3.4.0
- compile nrf with __STARTUP_CLEAR_BSS and link flag -nostartfiles
2024-04-19 23:17:47 +07:00
hathach
3442a87d5b
- clang h743 build and run cdc_msc ok
- switch unit test back to gcc, since path to clang conflict on local setup (x86 and arm)
2024-04-19 23:16:57 +07:00
hathach
bf29417e5f
code format 2024-04-16 20:58:02 +07:00
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
Ha Thach
178c4144ad
Merge pull request #1685 from battlesnake/st_synopsys_sof
Add SOF support for ST Synopsys port
2024-04-16 11:11:29 +07:00
Ha Thach
f3781a45d8
Merge pull request #1662 from Erlkoenig90/check-usbd-queue-overflow
Check for event queue overflow in usbd / dcd_event_handler
2024-04-16 10:58:15 +07:00
hathach
e1c3b5aeab
minor update to sof 2024-04-16 10:57:54 +07:00
hathach
189080b684
add TU_ASSERT() to check for adding new usb event 2024-04-16 10:40:24 +07:00
hathach
5dabef79ee
don't check local endpoint stalled status, just carry the request for host. 2024-04-16 10:27:16 +07:00
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