d76ddc695f
Also fix bDescriptorType
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-11-21 22:11:52 +01:00
183c5ef027
Fix in multiple example codes, wrong descriptor length was taken for tusb_desc_device_qualifier_t.
...
Signed-off-by: Thomas Rubin <thomas.rubin2@protonmail.com >
2025-11-21 14:31:45 +01:00
ac903db1ce
Merge remote-tracking branch 'tinyusb/master' into embedded-ideas/master
...
Signed-off-by: Mengsk <admin@hifiphile.com >
2025-11-14 15:10:11 +01:00
cd90d94e7c
make host info to devcie cdc to work with freertos/noos
2025-11-06 19:08:53 +07:00
6b3970d5ff
Fixed trailing whitespaces in files (used wrong editor)
2025-10-31 17:29:58 +01:00
889cde7d4b
Video class: Changed pararameters of payload request to a dedicated structure in order to meet coding guideliness
2025-10-30 15:01:52 +01:00
b8cea4ad76
Added bufferless operation to the video capture example. Can be tested with e.g. nanoCH32V305 board with the following settings:
...
- tusb_config.h
- #define CFG_TUD_VIDEO_STREAMING_EP_BUFSIZE 1024
- #define CFG_TUD_VIDEO_STREAMING_BULK 1
- #define CFG_EXAMPLE_VIDEO_DISABLE_MJPEG
- #define CFG_EXAMPLE_VIDEO_BUFFERLESS
and
- usb_descriptor.h
- #define FRAME_RATE 60
2025-10-30 14:06:17 +01:00
d92b810df7
fix Identifiers that start with '__' or '_[A-Z]' are reserved.
...
fix compiling with nuc family
2025-10-28 14:14:01 +07:00
a12806a6cd
fix descriptor warning when shifting zero
2025-10-28 00:17:26 +07:00
f39dcae9f1
fix several warnings
2025-10-24 13:04:49 +07:00
be9409bfa7
Fix board_init_after_tusb
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-09-17 23:44:01 +02:00
0388700ad7
update esp build, replace TUSB_MCU_VENDOR_ESPRESSIF by ESP_PLATFORM
2025-07-02 15:32:12 +07:00
31071ccf0e
kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR
2025-01-23 17:10:48 +07:00
4012e15075
move core init code to dwc2 common. update/correct build for esppressif
2024-10-15 17:55:24 +07:00
1f18be93db
change the tusb_rhport_init_t struct, exclude the rhport to make API more consistent
2024-10-14 18:27:52 +07:00
92602b9de3
change tusb_init(), tusb_rhport_init() to use init struct for expandability
2024-10-11 13:41:53 +07:00
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
088486186f
rename TUD_ENDPOINT_EXCLUSIVE_NUMBER to TUD_ENDPOINT_ONE_DIRECTION_ONLY
2024-08-19 19:05:33 +07:00
2e995d7cf4
adding support for esp32 for use with max3421e host
2024-04-25 20:23:40 +07:00
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
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
d52909ec5c
remove the use of descriptor template for video capture example
2024-01-29 18:02:57 +07:00
2da8f763d7
update example to work with iso streaming
2024-01-26 23:50:58 +07: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
2f2d2bcf3e
Merge branch 'master' of https://github.com/YixingShen/tinyusb
2024-01-26 09:09:44 +08:00
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
0b8b8af83d
minor update to video capture example
2024-01-25 17:25:48 +07:00
de1266699d
clean up video example for readability
2024-01-24 13:13:49 +07:00
1117880411
add high speed into examples\device\video_capture
2023-12-24 00:27:36 +08:00
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
92457ec99f
Merge pull request #2202 from Rocky04/patch-4
...
Invoke unmounted state on configuration reset
2023-08-09 20:48:26 +07:00
45af3d6a83
Update examples
2023-08-07 12:04:22 +00:00
9697c4df4e
update all examples to use unique ID as serial if avaialble
2023-08-04 10:28:24 +07:00
ef5bd9ee6c
Merge branch 'master' into enhance-bsp
2023-08-04 00:31:12 +07:00
cf91660cee
rename hw/bsp/board.h to board_api.h
2023-08-03 15:44:05 +07:00
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
5ce60c5d20
Add MJPEG descriptor for bulk transfer
2023-03-26 21:22:52 +09:00
389babf20b
Add descriptor for a bulk endpoint as a streaming endpoint
2023-03-25 21:25:13 +09:00
bdfcd50b1b
Merge branch 'master' into portability
2023-03-17 23:53:38 +07:00
3623ba1884
fix trailing space and new line
...
temporarily disable codespell
2023-03-17 16:12:49 +07:00
3fd075b48b
fix warning
2023-01-20 15:29:23 +07:00
2c9b5ddff0
Rename descriptor macros for consistency
2022-10-12 20:07:22 +09:00
aed8051f50
Add motion jpeg
2022-10-08 21:53:32 +09:00
3499aa2b21
Fix pointer
2022-10-06 21:10:27 +09:00
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
1debf62707
Fix compile errors
2022-09-13 21:22:02 +09:00
e80714740c
Change images to MJPEG
2022-09-13 21:22:02 +09:00
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