7ca988018e
UAC2: fix mounted condition.
2024-04-01 20:02:45 +02:00
05f9cab191
UAC2: refactor interrupt endpoint support.
2024-04-01 20:02:35 +02:00
a1f01fcbe0
Merge remote-tracking branch 'upstream/master' into pr/1702
2024-04-01 12:35:57 +02:00
2012a0d369
fix hid close not clear data
2024-03-31 15:48:26 +07:00
cab1106416
dwc2: add endpoint allocation support.
2024-03-30 10:36:27 +07:00
98b8e960aa
Merge branch 'master' into add-tuh-deinit
2024-03-25 17:46:28 +07:00
e84c9f3e22
implement tuh_init()
...
change usbh driver init() return type from void to bool
2024-03-22 16:12:57 +07:00
74bd264758
adding deinit() stub for usbh/hcd class driver
...
add TUSB_VERSION_BUILD, also add TUSB_VERSION_NUMBER
2024-03-22 11:42:33 +07:00
ff12544c9a
added dedicate buffer for probe commit payload
2024-03-20 22:45:46 +07:00
5630030a22
improve uvc debug message
2024-03-20 17:55:31 +07:00
5d1f6934fb
fix: uvc multiple interface support
...
1. fix next interface may have IAD_DESC
2. fix vs_itf can't be open on bulk mode.
2024-03-18 10:20:36 +08:00
4f5d80d397
add tuh_hid_receive_abort() API
2024-03-01 17:40:38 +07:00
4ed02ae5f9
reformat code hid_host.c
...
- fix ceedling with ruby 3.1
- allow overwrite CMAKE_C_COMPILER/CMAKE_CXX_COMPILER from command line
2024-03-01 17:34:14 +07: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
3f2df94457
video_device: fix uninitialized warning
2024-02-20 08:16:39 -08:00
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
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
e63a2f5c58
fix #2444 and other small things
2024-01-31 18:00:25 +01:00
82776aaca9
Update vendor_device.c fifo mutex config similar to cdc_device.c.
2024-01-31 10:48:15 +01:00
f600a8a0fc
fix tuh_hid_mounted() similar to #2437
2024-01-30 10:33:55 +01:00
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
00ba4e95ac
cdch: de-configure when closing, rename configured to mounted
2024-01-30 10:59:12 +07:00
7a92038bc4
Merge pull request #2428 from YixingShen/master
...
update video_capture
2024-01-30 10:00:26 +07:00
55950656cb
add freertos build support for video_capture example
2024-01-29 23:23:06 +07:00
82be2477e8
fixed #2437
2024-01-29 12:04:00 +01:00
0daf8ec51b
update example to work bulk mjpeg
2024-01-26 23:23:38 +07:00
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
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
0b8b8af83d
minor update to video capture example
2024-01-25 17:25:48 +07:00
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
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
769a237b19
accumulated review changes
2024-01-20 20:34:50 +01:00
87d509d416
make CFG_TUH_CDC_LINE_CODING_ON_ENUM optional for ch34x
2024-01-20 01:42:31 +07:00
55cb713264
- add new API tuh_cdc_set_data_format()
...
- add typedef for cdc enum
2024-01-19 16:56:32 +07:00
c196a2ed9c
move code around
2024-01-19 16:04:30 +07:00
98781bb903
- add ch34x_set_data_format()
...
- add ch34x_set_line_coding()
2024-01-19 15:58:05 +07:00
23c2d929a1
refactor process_internal_control_complete()
2024-01-19 12:40:37 +07:00
c568a6793e
- add requested line coding to make update data format easier
...
- change ch34x_xfer_get_itf_num() to simply 0
2024-01-19 12:14:45 +07:00
30eb35f17f
- revert the use of serial init for set line coding
...
- update ch34x_get_lcr and ch34x_get_factor_divisor
2024-01-19 01:06:24 +07:00
3968a0fff8
implemented ch34x_set_line_coding() and some code cleanup
2024-01-17 16:04:31 +01:00
f221c0fb66
more clean up
2024-01-17 14:45:09 +07:00
482a8068a5
change code style and code cleanup
2024-01-16 14:51:04 +01:00
46ac03ba85
change code style
2024-01-16 17:45:16 +07:00
55da1072b6
merge and cherry pick changes
2024-01-16 17:25:44 +07:00
07e3d5c691
fix number of endpoint for ch340x, also open notification even not used for now
2024-01-16 14:32:31 +07:00
f7ef3c1b1c
Merge branch 'cdc_ch34x_support' of https://github.com/IngHK/tinyusb into cdc_ch34x_support
2024-01-16 08:20:23 +01:00
4e6408ea49
CDCh host: further work on CH340/CH341 support
2024-01-16 08:07:22 +01:00