87 Commits

Author SHA1 Message Date
hathach
0388700ad7 update esp build, replace TUSB_MCU_VENDOR_ESPRESSIF by ESP_PLATFORM 2025-07-02 15:32:12 +07:00
HiFiPhile
14f1feac84 Fix path.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-11 20:56:41 +01:00
HiFiPhile
09bce3532c Add CMake presets.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-09 00:25:38 +01:00
hathach
31071ccf0e kind of work with zephyr with pca10056 with cmake -DBUILD_ZEPHYR 2025-01-23 17:10:48 +07:00
hathach
c8130afe9b bump up cmake min to 3.20 2025-01-21 16:28:26 +07:00
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
fa44923de1 skip some examples for mcxa15 2024-09-30 22:13:30 +07:00
hathach
088486186f rename TUD_ENDPOINT_EXCLUSIVE_NUMBER to TUD_ENDPOINT_ONE_DIRECTION_ONLY 2024-08-19 19:05:33 +07:00
hathach
f32851cf2a fix ci skip example for ch32v1 2024-06-14 16:16:10 +07:00
Matthew Tran
db60fa1c63 add CH32V20x USB OTG/FS driver 2024-05-15 20:01:00 +07:00
Ha Thach
ba6babf570 Rework ci (#2631)
* add name field to usbd_class_driver_t
* ci: use set matrix py script
* add riscv32 and cmake support for ch32v307, fomu,  gd32vf103
* update build_cmake.py to take --family --board --toolchain
* separate hil test to its own workflow
* move esp32 board into separated hil json
* add make build to ci
* remov build_make.py
* build.py support esp32 board
* setup toolchain support esp-idf
* fix missing click
* merge family in matrix build to reduce jobs
* skip cifuzz since it still has issue with get_deps and click
2024-05-09 20:43:46 +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
hathach
83840041a8 update esp32 to also be supported by hil test
test run locally well
2023-11-29 17:09:52 +07:00
hathach
26ca48e7a7 move make.mk and rules.mk to build_system/make 2023-11-23 20:20:01 +07: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
hathach
e43387abac rework cmake with rtos support add RTOS to family_configure_device/host/dual_example() 2023-06-27 15:45:38 +07:00
Ha Thach
433ffe2152 Merge pull request #1985 from kkitayam/uvc_bulk
Add the capability for video class to handle a bulk endpoint in the streaming interface.
2023-06-15 16:28:33 +07:00
hathach
6daa135201 update most examples cmake to build with imxrt 2023-04-21 18:23: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
e62d1a03ac integrate top.mk into make.mk 2023-03-06 13:25:56 +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