Ha Thach
dbc2c8d972
Fix missing protoype warning, change TUD_EPBUF_TYPE_DEF order ( #2889 )
...
* change TUD_EPBUF_TYPE_DEF order
* add and fix -Wmissing-prototypes warnings for cmake (skip make)
2024-11-27 18:28:12 +07:00
hathach
1eb72af433
TUD_EPBUF_TYPE_DEF video_device.c
2024-11-22 18:33:48 +07:00
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
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
Bob Abeles
3f2df94457
video_device: fix uninitialized warning
2024-02-20 08:16:39 -08: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
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
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
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
Ha Thach
50e61e0e16
Merge pull request #2101 from eustas/patch-1
...
Fix typos
2023-06-21 15:51:03 +07:00
Eugene Kliuchnikov
0833806980
Fix typos
2023-06-08 15:38:30 +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
d919f107c7
minor clean up
2023-03-18 11:22:44 +07:00
hathach
bdfcd50b1b
Merge branch 'master' into portability
2023-03-17 23:53:38 +07: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
Ben Avison
6a2d01bae4
Don't assume different enum types can be combined
...
IAR generates warning Pa089 'enumerated type mixed with another enumerated
type'.
2022-09-13 18:00:51 +01:00
Ben Avison
65ba15c37d
Remove unreachable code
...
IAR generates warning Pe111 'statement is unreachable'. In a couple of
cases, replace return statements with TU_ATTR_FALLTHROUGH; because some
compilers apparently can't figure out that the return statements are
unreachable but do whinge about an imagined fall-through without them!
2022-09-13 18:00:50 +01:00
Ben Avison
16518dcbbb
Refactor pointer arithmetic on void*
...
This is a GCC extension, illegal in ISO C. IAR generates errors Pa152
'these operand types cannot be used here' and Pe852 'expression must be a
pointer to a complete object type'.
Replace with uint8_t*.
2022-09-13 18:00:49 +01: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