Commit Graph

63 Commits

Author SHA1 Message Date
hathach
1f18be93db change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent 2024-10-14 18:27:52 +07:00
YixingShen
15766ad988 fixed _find_desc_format 2024-07-18 00:46:20 +08:00
HiFiPhile
b0568e32a5 Fix tud_video_n_streaming check 2024-04-09 11:11:06 +02:00
Ha Thach
42decf28f1 Merge pull request #1835 from MasterQ32/otg_bringup
Implements deinit functions for host/device mode switch
2024-04-08 23:48:52 +07:00
hathach
c3c0648456 add class driver deinit 2024-04-08 22:07:56 +07:00
HiFiPhile
e642066562 Move TUP_DCD_EDPT_ISO_ALLOC outside usbd_edpt_close() loop. 2024-04-06 19:02:50 +02:00
HiFiPhile
2e4d4e4a01 Add endpoint ISO allocation to video class. 2024-04-02 20:54:33 +02:00
hathach
ff12544c9a added dedicate buffer for probe commit payload 2024-03-20 22:45:46 +07:00
hathach
5630030a22 improve uvc debug message 2024-03-20 17:55:31 +07:00
Li Junru
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
Bob Abeles
3f2df94457 video_device: fix uninitialized warning 2024-02-20 08:16:39 -08: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
hathach
0b8b8af83d minor update to video capture example 2024-01-25 17:25:48 +07:00
Ha Thach
1b04db2a77 Merge branch 'master' into master 2023-08-04 11:48:04 +07:00
hathach
979bf32266 default class driver log level to CFG_TUH/TUD_LOG_LEVEL allow application to selectively disable usbd/usbh or driver log 2023-08-02 15:34:18 +07:00
hathach
ef49b93532 rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stack
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-07-24 15:46:21 +07:00
Lars Pötter
0693462eba made line ends consistent. 2023-07-02 09:02:24 +02:00
kkitayam
993b8d6686 Add state variable 2023-03-26 21:18:00 +09:00
kkitayam
e508831561 Update handle streaming interface 2023-03-25 21:25:13 +09:00
kkitayam
78732d6733 Fix streaming interface handling 2023-03-25 21:25:12 +09:00
kkitayam
97f9321e1d Add handling for bulk EPs 2023-03-25 21:25:12 +09:00
hathach
3623ba1884 fix trailing space and new line
temporarily disable codespell
2023-03-17 16:12:49 +07:00
hathach
498989ee00 use tu_static instead of static _fuzz_thread 2023-02-22 16:23:40 +07:00
Ha Thach
557bf82336 Merge pull request #1867 from silvergasp/thread_local_globals
fix: Change all static variables to thread when fuzzing
2023-02-22 12:54:32 +07:00
hathach
03ec49450d rename maros from FUZZ to _FUZZ, change TU_STATIC to static _fuzz_thread 2023-02-22 11:47:09 +07:00
Nathaniel Brough
18c3095346 fix: Change all static variables to thread when fuzzing 2023-01-20 15:45:31 -08:00
hathach
daec3c24d8 fix warnings with arithmetic on void* pointer 2023-01-20 15:30:45 +07:00
Staacks
95ba158a10 Fix UVC probe and commit on MacOS 2022-12-27 23:02:33 +01:00
kkitayam
53dc9d55b5 Fix pointer type to calculate streaming parameter 2022-10-12 20:41:03 +09:00
kkitayam
4be7ffd63f Fix max payload size to clip at 1023 2022-10-07 21:30:03 +09:00
kkitayam
ee832e4e37 Fix descriptor searching 2022-10-03 21:41:58 +09:00
kkitayam
1debf62707 Fix compile errors 2022-09-13 21:22:02 +09:00
kkitayam
e80714740c Change images to MJPEG 2022-09-13 21:22:02 +09:00
hathach
6522a8150e fix all device examples warnings 2022-06-27 13:48:47 +07:00
hathach
d10326cb4e rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLED
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2022-02-25 18:35:21 +07:00
hathach
5af989384b remove ep descriptor wMaxPacketSize bitfield due to endian issue 2021-10-24 13:11:21 +07:00
Ha Thach
311c05b401 Merge branch 'master' into fix-warnings 2021-10-23 21:23:56 +07:00
kkitayam
b3b6b4f785 Update _negotiate_streaming_parameters() to handle some requests 2021-10-19 21:49:00 +09:00
kkitayam
4fd0ee4eef Implement GET_DEF and GET_LEN handling on Probe/Commit entities of streaming interface 2021-10-18 21:53:38 +09:00
hathach
0b249618b0 fix -Wcast-qual 2021-10-15 23:54:31 +07:00
kkitayam
67f1603833 Fix a typo 2021-10-12 23:35:19 +09:00
hathach
4d9e44e09c more rename 2021-10-12 01:12:26 +07:00
hathach
7afcb1e5d5 minor code clean up without functionality changes 2021-10-12 00:56:20 +07:00
hathach
4d170614dc rename some video constants 2021-10-11 23:18:24 +07:00
hathach
b3bfce2cb7 update the descriptor endpoint ISO for nrf5x 2021-10-11 16:07:34 +07:00
kkitayam
4ca466b00b Update comments 2021-09-29 22:59:46 +09:00
kkitayam
9bcab53c2c Implement frame rate settings 2021-09-29 22:53:26 +09:00
kkitayam
dba5e7b17d Implement negotiation process for streaming parameters 2021-09-29 21:23:19 +09:00
kkitayam
0c89292a8d Fix transfer failure when reconnecting 2021-09-29 21:23:19 +09:00
kkitayam
a15c354329 Fix typo 2021-09-29 21:23:18 +09:00