hathach
4012e15075
move core init code to dwc2 common. update/correct build for esppressif
2024-10-15 17:55:24 +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
hathach
92602b9de3
change tusb_init(), tusb_rhport_init() to use init struct for expandability
2024-10-11 13:41:53 +07:00
hathach
57aac432b5
add new tusb_int_handler(rhport, in_isr) as common irq handler
...
update tusb_init() to take rhport and role, defined as macro with optional argument for backward compatible
2024-10-10 16:28:36 +07:00
hathach
088486186f
rename TUD_ENDPOINT_EXCLUSIVE_NUMBER to TUD_ENDPOINT_ONE_DIRECTION_ONLY
2024-08-19 19:05:33 +07:00
hathach
2e995d7cf4
adding support for esp32 for use with max3421e host
2024-04-25 20:23:40 +07:00
hathach
34737f9c60
update uvc 2ch to stream0 use yuy2, stream1 use mpeg
...
this help reduce sram requirement for example, also provide different format (uncompressed & mpeg)
2024-04-05 00:55:48 +07: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
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
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
YixingShen
1117880411
add high speed into examples\device\video_capture
2023-12-24 00:27:36 +08:00
YixingShen
3f4e77738b
fixed device/video_capture/src/images.h,main.c CFG_EXAMPLE_VIDEO_DISABLE_MJPG to CFG_EXAMPLE_VIDEO_DISABLE_MJPEG
2023-12-18 00:40:29 +08:00
Ha Thach
92457ec99f
Merge pull request #2202 from Rocky04/patch-4
...
Invoke unmounted state on configuration reset
2023-08-09 20:48:26 +07:00
Rocky04
45af3d6a83
Update examples
2023-08-07 12:04:22 +00:00
hathach
9697c4df4e
update all examples to use unique ID as serial if avaialble
2023-08-04 10:28:24 +07:00
hathach
ef5bd9ee6c
Merge branch 'master' into enhance-bsp
2023-08-04 00:31:12 +07:00
hathach
cf91660cee
rename hw/bsp/board.h to board_api.h
2023-08-03 15:44:05 +07:00
hathach
3f788a4e5a
enable USBMC for uno r4, add board_init_after_tusb() API
...
add BOARD_UPPERCASE for board detection
2023-07-31 19:09:40 +07:00
kkitayam
5ce60c5d20
Add MJPEG descriptor for bulk transfer
2023-03-26 21:22:52 +09:00
kkitayam
389babf20b
Add descriptor for a bulk endpoint as a streaming endpoint
2023-03-25 21:25:13 +09: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
3fd075b48b
fix warning
2023-01-20 15:29:23 +07:00
kkitayam
2c9b5ddff0
Rename descriptor macros for consistency
2022-10-12 20:07:22 +09:00
kkitayam
aed8051f50
Add motion jpeg
2022-10-08 21:53:32 +09:00
kkitayam
3499aa2b21
Fix pointer
2022-10-06 21:10:27 +09: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
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
Ahmed El-Sharnoby
8a537a0092
Remove Hardcoded interface numbers from video descriptors
...
Removing the Hardcoded interface numbers from the video descriptors allow the user to add other interfaces before or after the Video Control Interface and Video Streaming Interface
2022-08-23 17:18:32 +02:00
hathach
b9dc9dbd78
fix most warnings with rp2040 -wconversion
2022-06-27 11:50:17 +07:00
hathach
9794a2b865
more example update
2022-06-06 22:41:04 +07:00
hathach
99c1585ed2
rename board specific macro for example
...
- BOARD_DEVICE/HOST_RHPORT_NUM to BOARD_TUD/H_RHPORT
- BOARD_DEVICE/HOST_RHPORT_SPEED to BOARD_TUD/H_MAX_SPEED
2022-06-01 23:53:40 +07:00
hathach
a8af609dfe
auto detect max rhport speed based on mcu
2022-02-25 18:35:21 +07:00
kkitayam
c5d825450a
Fix dwFrameIntervalStep and dwMaxFrameInterval
...
dwMaxFrameInterval minus dwMinFrameInterval should be evenly divisible by
dwFrameIntervalStep.
2022-01-13 00:24:56 +09:00
hathach
dbd31895bc
change usage of TU_CHECK_MCU() to prevent macro conflict
2021-10-25 17:04:03 +07:00
Ha Thach
311c05b401
Merge branch 'master' into fix-warnings
2021-10-23 21:23:56 +07:00
hathach
a5f516893b
more with -Wcast-qual
2021-10-17 16:36:53 +07:00
kkitayam
7325dd6335
Change input terminal type to camera
2021-10-16 12:06:13 +09: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
a3a18c9ed3
Change the video image to scrolling color bars.
2021-10-09 19:51:51 +09:00
kkitayam
9a7795464e
Add cast operations to unused parameters
2021-09-30 21:08:57 +09:00