Commit Graph

4270 Commits

Author SHA1 Message Date
IngHK
138567af3e fixed #2448 CH34x ch34x_set_line_coding() callback bug 2024-02-24 12:57:54 +01:00
IngHK
22a12c7668 improved ACM checks 2024-02-24 12:57:54 +01:00
IngHK
ea86bbe5f7 added continue enum after config fail 2024-02-24 12:57:53 +01:00
IngHK
dcadf8c2a2 created set_function_call() 2024-02-24 12:57:53 +01:00
IngHK
7dd435cb87 changed to use of p_cdc->requested_line_state 2024-02-24 12:57:53 +01:00
IngHK
2f50f5a426 changed to use of p_cdc->requested_line_coding 2024-02-24 12:57:53 +01:00
IngHK
829ea52873 splitted cdch_internal_control_complete() into driver's _internal_control_complete() and moved them into driver's sections. no functional change 2024-02-24 12:57:39 +01:00
hathach
a52b4647ec only save/restore CLK_RECOVER_IRC_EN/CTRL if FSL_FEATURE_USB_KHCI_IRC48M_MODULE_CLOCK_ENABLED is defined to 1 2024-02-24 17:18:30 +07:00
IngHK
47777a6305 improved TU_LOGs 2024-02-23 23:35:59 +01:00
IngHK
069c68ad04 sorted driver functions into Control Request, Driver API, Enumeration and Helper. no functional changes 2024-02-23 23:27:38 +01:00
Ha Thach
21de8245ae Merge pull request #2168 from emb4fun/nxp_k64
Added support for the NXP K64 series
2024-02-24 01:11:01 +07:00
hathach
65a2e5cdf8 fix build with cpu without USB_CLK_RECOVER using old dcd_khci driver 2024-02-24 00:53:05 +07:00
hathach
3d3bf45102 frdm k64f usb work well, add kinetis_k to ci cmake 2024-02-24 00:36:07 +07:00
Jerry Palacios
ec91660119 Revert "Merge branch 'hathach:master' into MCX"
This reverts commit 6afd4a5789, reversing
changes made to 5c14bd13da.
2024-02-22 16:11:23 -06:00
jerpa77
6afd4a5789 Merge branch 'hathach:master' into MCX 2024-02-22 15:47:45 -06:00
Ha Thach
be5cc44f55 Merge pull request #2487 from hathach/update-cdc_msc_freertos-example
slightly change cdc_msc_freertos example
2024-02-22 20:15:56 +07:00
hathach
13d26d2166 slightly change cdc_msc_freertos example 2024-02-22 19:20:28 +07:00
Ha Thach
a2446068d3 Merge pull request #2420 from zx96/use-cfg-tud-msc-log-level
msc_device: Fix check for including MSC lookup tables
2024-02-22 18:03:51 +07:00
Jerry Palacios
5c14bd13da MCX A and MCX N merged to MCX family 2024-02-20 18:02:42 -06:00
Bob Abeles
3f2df94457 video_device: fix uninitialized warning 2024-02-20 08:16:39 -08:00
Ha Thach
65e60f3123 Merge pull request #2463 from kasjer/kasjer/nrf5x-isoout-corruption-detection
nrf5x: Handle ISOOUT CRC errors
2024-02-20 14:06:08 +07:00
Rocky04
d0373f4749 Opt-out for USB Test-Mode 2024-02-19 17:44:18 +00:00
Ha Thach
e9dc8f3e7d fix wrong volatile usage in ohci gtd 2024-02-19 18:12:03 +07:00
Ha Thach
382f686f19 Merge pull request #2389 from IngHK/improve_debug_prints
improved hex debug print, improved USBH debug prints, added pid/vid debug print
2024-02-19 17:55:43 +07:00
Kai
27c125416a use rt-thread 5+ mq recv api 2024-02-16 15:16:17 +08:00
Chris Desjardins
5ca9980060 Do not enable the Mode mismatch interrupt source, it is not cleared
If this interrupt ever hits it will result in an infinite interrupt
loop as it is never cleared.
2024-02-15 16:34:31 +01:00
IngHK
79aecf3fb7 fixed #2469 2024-02-14 09:16:18 +01:00
Jerzy Kasenberg
68bb858406 nrf5x: Handle ISOOUT CRC errors
NRF5x USB controller can detect ISO OUT CRC errors.
In such case USBEVENT is signaled with EVENTCAUSE_ISOOUTCRC set.
Even if controller detects corrupted ISO OUT packet it allows
to data transfer from ednpoint to RAM however packet is corrupted
and code could just as well drop packet altogether.

With current implementation incoming ISO OUT packets were put in
FIFO and exact information how much data already in FIFO is correct
was hard to keep track of.
If was observed that on certain configurations HS hub when FS device
was connected occasionally sent invalid (short) packet. In such case
if packet length was reported odd audio stream was not recognizable any
more.

With this change corrupted packets are not passed to upper layers
and are silently dropped.
2024-02-12 16:17:44 +01:00
IngHK
4d4e20b71e missing \r\n after TU_LOG_BUF => moved \r\n to tu_print_buf() 2024-02-08 12:00:44 +01:00
Jerry Palacios
45454c53f1 frdmmcxa153 files added 2024-02-07 18:33:19 -06:00
Jerry Palacios
6c4a5292a6 Back to original 2024-02-07 17:03:13 -06:00
Antonio Vázquez Blanco
0531027b57 usbd: log outbound xfer bytes in debug 2024-02-07 13:06:41 +01:00
IngHK
a066002731 Merge remote-tracking branch 'remotes/hathach/master' into improve_debug_prints 2024-02-07 10:11:42 +01:00
IngHK
e784e20b93 changes after review 2024-02-07 10:11:28 +01:00
Ha Thach
b60d0ff1d4 Merge pull request #2442 from IngHK/hidh_mounted_fix
HIDh tuh_hid_mounted() returns true before process set config is completed
2024-02-06 16:34:02 +07:00
Michael Fischer
ea30041168 Merge branch 'hathach:master' into nxp_k64 2024-02-04 10:55:34 +01:00
HiFiPhile
297290c16d Allow vendor class to be used without FIFO. 2024-02-01 13:11:56 +01:00
HiFiPhile
d692d77834 Merge branch 'master' into src/portable/synopsys/dwc2/fix_sof_int_handling 2024-02-01 11:12:20 +01:00
HiFiPhile
f505cc2add Merge pull request #2443 from mamiral/tud_vendor_mutex
Update vendor_device.c fifo mutex config similar to cdc_device.c.
2024-02-01 11:04:27 +01:00
IngHK
e63a2f5c58 fix #2444 and other small things 2024-01-31 18:00:25 +01:00
mamiral
82776aaca9 Update vendor_device.c fifo mutex config similar to cdc_device.c. 2024-01-31 10:48:15 +01:00
IngHK
f600a8a0fc fix tuh_hid_mounted() similar to #2437 2024-01-30 10:33:55 +01:00
Ha Thach
68cc7089bd Merge pull request #2438 from IngHK/cdch_mounted_fix
fix of #2437 CDCh tuh_cdc_mounted() returns true before process config is completed
2024-01-30 11:59:12 +07:00
hathach
00ba4e95ac cdch: de-configure when closing, rename configured to mounted 2024-01-30 10:59:12 +07:00
Ha Thach
7a92038bc4 Merge pull request #2428 from YixingShen/master
update video_capture
2024-01-30 10:00:26 +07:00
hathach
55950656cb add freertos build support for video_capture example 2024-01-29 23:23:06 +07:00
IngHK
82be2477e8 fixed #2437 2024-01-29 12:04:00 +01:00
hathach
0daf8ec51b update example to work bulk mjpeg 2024-01-26 23:23:38 +07:00
hathach
b5cd673330 rename and add more video descriptors
use struct to define uvc descriptor for video_capture since uvc is
rather too complicated to use macro templates
2024-01-26 22:55:55 +07:00
沈玴興
b713493436 Merge branch 'hathach:master' into master 2024-01-26 02:49:52 +08:00