Ha Thach
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
Kai
27c125416a
use rt-thread 5+ mq recv api
2024-02-16 15:16:17 +08: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
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
Ha Thach
f918406a12
Merge pull request #2454 from hathach/fix-esp-build
...
Fix esp build
2024-02-02 13:46:25 +07:00
hathach
7ab39cda5f
fix rmt legacy driver warning
2024-02-02 13:17:29 +07:00
hathach
d1f77e08ac
build esp32 ci with v5.1
2024-02-02 13:08:42 +07:00
HiFiPhile
c151da6455
Merge pull request #1928 from gschorcht/src/portable/synopsys/dwc2/fix_sof_int_handling
...
synopsys/dwc2: fix SOF interrupt handling
2024-02-01 11:26:27 +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
Ha Thach
7ea2384786
Merge pull request #2445 from IngHK/ch34x_fix2444
...
fix #2444 and other small things
2024-02-01 13:11:22 +07: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
YixingShen
073a7a5659
revert the change in the f1 family.c since it break compile with other f1 that does not use UART.
2024-01-30 08:30:37 +08:00
Ha Thach
b4c0530fda
Merge pull request #2435 from hathach/enhance-uvc
...
Enhance UVC decriptors and example
2024-01-30 00:12:09 +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
d52909ec5c
remove the use of descriptor template for video capture example
2024-01-29 18:02:57 +07:00
hathach
2da8f763d7
update example to work with iso streaming
2024-01-26 23:50:58 +07: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
YixingShen
2f2d2bcf3e
Merge branch 'master' of https://github.com/YixingShen/tinyusb
2024-01-26 09:09:44 +08:00
YixingShen
4c9f462423
add "set tx_busy 1" into video_capture's video_tas for "if (tx_busy) return"
2024-01-26 09:09:18 +08:00
沈玴興
b713493436
Merge branch 'hathach:master' into master
2024-01-26 02:49:52 +08:00
YixingShen
19130440cc
Revert "Merge branch 'master' of https://github.com/YixingShen/tinyusb "
...
This reverts commit 611f9d948be47b96520e84773525b9b79d3c7189, reversing
changes made to a7de4ac9b7a2dfb1fa44921fb0f41f249c8cdd5e.
2024-01-26 02:46:53 +08:00
YixingShen
611f9d948b
Merge branch 'master' of https://github.com/YixingShen/tinyusb
2024-01-26 02:41:34 +08:00
YixingShen
a7de4ac9b7
Correct VIDEO_CS_VS_INTERFACE_FRAME_MJPEG to VIDEO_CS_ITF_VS_FRAME_MJPEG for #define TUD_VIDEO_DESC_CS_VS_FRM_MJPEG_DISC
2024-01-26 02:37:15 +08:00
Ha Thach
bd3c4fbe1e
Merge pull request #2427 from hathach/setup-python@v5
...
bump up to actions/setup-python@v5
2024-01-26 01:32:46 +07:00
hathach
14d44171b5
bump up to actions/setup-python@v5
2024-01-25 19:13:11 +07:00
Ha Thach
5aaa1aa63e
Merge pull request #2426 from hathach/cleanup-uvc-example
...
house keeping uvc example
2024-01-25 18:00:18 +07:00
hathach
0b8b8af83d
minor update to video capture example
2024-01-25 17:25:48 +07:00
hathach
de1266699d
clean up video example for readability
2024-01-24 13:13:49 +07:00
Ha Thach
09ae91700c
Merge pull request #2424 from hathach/retry-hil-s3
...
Retry hil s3
2024-01-24 13:13:02 +07:00
hathach
9d0df8ebc5
add message when flashing failed
2024-01-24 12:10:17 +07:00
hathach
64f86ef8e7
build workflow with hil-test when test/hil changes
2024-01-24 11:32:28 +07:00
hathach
82218c8d68
retry flashih a few time due to random failed by s3
2024-01-24 00:43:23 +07:00
HiFiPhile
f92c2c2758
Merge pull request #2422 from kasjer/kasjer/audio_device-fix-unused-param-warning
...
audio_device: Fix unused variable warning
2024-01-23 15:09:25 +01:00
Jerzy Kasenberg
1c9a839401
audio_device: Fix unused variable warning
...
In some configurations local variable p_desc_parse_for_params
is declared and never used resulting in warning that can
be escalated to build error (for mynewt)
Now variable is surrounded with same preprocessor condition
as function that uses it audiod_parse_for_AS_params()
2024-01-23 13:51:10 +01:00
Ha Thach
57bbf3ad2b
Merge pull request #2391 from IngHK/cdc_ch34x_support
...
initial support of CH34x CDC device
2024-01-22 23:08:16 +07:00
Jonathan Zentgraf
af3c6be79f
msc_device: Fix check for including MSC lookup tables
...
The _msc_scsi_cmd_lookup and _msc_scsi_cmd_table variables are needed
when logging is enabled for the MSC device via CFG_TUD_MSC_LOG_LEVEL.
Update the preprocessor check around them to use that definition when
deciding whether to define those variables.
Closes #2419
2024-01-20 20:19:02 -05:00
IngHK
769a237b19
accumulated review changes
2024-01-20 20:34:50 +01:00