Commit Graph

48 Commits

Author SHA1 Message Date
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
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
kkitayam
f7bbdea0b8 Refactor application API parameters 2021-09-29 21:23:17 +09:00
kkitayam
0d6496886c Change frame buffer management 2021-09-29 21:23:17 +09:00
kkitayam
d88cc23ca5 Refactor packet handling 2021-09-29 21:23:17 +09:00
kkitayam
cd3f6eac2f Fix streaming payload handling 2021-09-29 21:23:16 +09:00
kkitayam
3cb4bb391d Separate a handling resource into controller and streaming 2021-09-29 21:23:16 +09:00
kkitayam
2b4e02f192 Implement some mandatory requests on streaming interface 2021-09-29 21:23:16 +09:00
kkitayam
4995d9cbd2 Fix handling for set_interface 2021-09-29 21:23:15 +09:00
kkitayam
20572a6ed2 Fix regarding standard video stream request 2021-09-29 21:23:15 +09:00
kkitayam
d026f17457 fix: configuration descriptor has incorrectly sizes
update some descriptors
2021-09-29 21:23:15 +09:00
kkitayam
019c1ab09e add tentative example 2021-09-29 21:23:14 +09:00
kkitayam
033d6b28ff moved ISO attributes from audio to common 2021-09-29 21:23:14 +09:00
kkitayam
e8de411322 cleanup open() 2021-09-29 21:23:14 +09:00
kkitayam
97d5d1e491 add files for video class device 2021-09-29 21:23:14 +09:00