Commit Graph

7552 Commits

Author SHA1 Message Date
7f7576fa62 Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade 2024-02-29 10:45:58 +01:00
2720392a15 Merge pull request #2490 from IngHK/compiler_warning
fixed compiler warning src/tusb.c
2024-02-26 11:59:11 +07:00
23450d4f6b fixed compiler warning src/tusb.c 2024-02-24 15:51:02 +01:00
af5e75c394 Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade 2024-02-24 13:03:51 +01:00
46a861b0e3 improved PL2303 TU_LOGs 2024-02-24 13:01:58 +01:00
da93fcfc6d improved TU_LOGs 2024-02-24 13:01:58 +01:00
2b507dba4d small changes & code style 2024-02-24 13:01:38 +01:00
ea175a78aa updated contribution, readme and some comments 2024-02-24 13:00:46 +01:00
aabee25e18 added PL2303 support 2024-02-24 12:58:59 +01:00
4547737833 improved CP210x support 2024-02-24 12:58:59 +01:00
7fef5943ef improved FTDI support 2024-02-24 12:58:45 +01:00
0b5f85eee0 created set_line_coding_sequence() and void set_line_coding_stage1_complete() to be reused by FTDI & CP210x 2024-02-24 12:57:54 +01:00
db511fb2f3 fixed CFG_TUH_CDC_LINE_CONTROL_ON_ENUM handling. only set if defined. value 0 is also valid 2024-02-24 12:57:54 +01:00
138567af3e fixed #2448 CH34x ch34x_set_line_coding() callback bug 2024-02-24 12:57:54 +01:00
22a12c7668 improved ACM checks 2024-02-24 12:57:54 +01:00
ea86bbe5f7 added continue enum after config fail 2024-02-24 12:57:53 +01:00
dcadf8c2a2 created set_function_call() 2024-02-24 12:57:53 +01:00
7dd435cb87 changed to use of p_cdc->requested_line_state 2024-02-24 12:57:53 +01:00
2f50f5a426 changed to use of p_cdc->requested_line_coding 2024-02-24 12:57:53 +01:00
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
f21b792712 Merge pull request #2489 from hathach/fix-non-crystal-less-ci-fs
fix crytsal-less access on unsupported kinetis mcu
2024-02-24 17:43:53 +07:00
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
47777a6305 improved TU_LOGs 2024-02-23 23:35:59 +01:00
069c68ad04 sorted driver functions into Control Request, Driver API, Enumeration and Helper. no functional changes 2024-02-23 23:27:38 +01:00
21de8245ae Merge pull request #2168 from emb4fun/nxp_k64
Added support for the NXP K64 series
2024-02-24 01:11:01 +07:00
65a2e5cdf8 fix build with cpu without USB_CLK_RECOVER using old dcd_khci driver 2024-02-24 00:53:05 +07:00
354998e96c update freertosconfig 2024-02-24 00:41:46 +07:00
3d3bf45102 frdm k64f usb work well, add kinetis_k to ci cmake 2024-02-24 00:36:07 +07:00
a1bfde83fb adding frdm k64f, board test run well with led, button and uart 2024-02-23 13:18:52 +07:00
ab6b9e3a5c Merge remote-tracking branch 'remotes/hathach/master' into cdch_upgrade 2024-02-22 21:06:14 +01:00
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
13d26d2166 slightly change cdc_msc_freertos example 2024-02-22 19:20:28 +07:00
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
0f3d28593d Merge pull request #2484 from eightycc/uninited
video_device: fix uninitialized variable warning
2024-02-21 21:50:42 +07:00
3f2df94457 video_device: fix uninitialized warning 2024-02-20 08:16:39 -08:00
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
09589a6363 Merge pull request #2481 from xudongzheng/pca10095-pr
Fix nRF5340 DK USB host shield build
2024-02-20 12:56:42 +07:00
1315bc196c Fix nRF5340 DK USB host shield build
- Fix incorrect UART pins
- Enable MAX3421 host shield
- Use GPIOTE1_IRQn instead of GPIOTE_IRQn
2024-02-19 16:52:09 -05:00
d241f32342 Merge pull request #2480 from hathach/fix-k32l2-clock
add clock_config.c/h from mcux to frdmk32l2a4 and frdm_k32l2b
2024-02-19 20:34:44 +07:00
e361b1a9ba add clock_config.c/h from mcux to frdmk32l2a4 and frdm_k32l2b 2024-02-19 18:45:03 +07:00
8469fafb10 Merge pull request #2479 from hathach/fix-ohci-volatile-2318
fix wrong volatile usage in ohci gtd
2024-02-19 18:35:09 +07:00
e9dc8f3e7d fix wrong volatile usage in ohci gtd 2024-02-19 18:12:03 +07:00
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
fabc20b3fb Merge pull request #2470 from IngHK/fix_2469
fixed #2469 compiler warning tusb_fifo.c -> missing default: break;
2024-02-19 16:46:32 +07:00
79aecf3fb7 fixed #2469 2024-02-14 09:16:18 +01:00
b9c44eea76 improved tusb_config.h comment 2024-02-13 14:14:54 +01:00
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
4d4e20b71e missing \r\n after TU_LOG_BUF => moved \r\n to tu_print_buf() 2024-02-08 12:00:44 +01:00
a066002731 Merge remote-tracking branch 'remotes/hathach/master' into improve_debug_prints 2024-02-07 10:11:42 +01:00
e784e20b93 changes after review 2024-02-07 10:11:28 +01:00