Commit Graph

309 Commits

Author SHA1 Message Date
hathach
65e44e0a51 fix(dwc2) host driver conflict with max3421e 2025-03-06 22:46:21 +07:00
hathach
5f447b76ad - add tuh_descriptor_get_string_langid() API
- host enumeration always get language id, manufacturer, product and serial string. Which is required by some device such as 8bitdo
2025-03-03 23:22:23 +07:00
Ha Thach
9d2fd6c4ac Merge pull request #2984 from HiFiPhile/preset
Add CMake presets.
2025-02-14 11:29:33 +07:00
HiFiPhile
14f1feac84 Fix path.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-02-11 20:56:41 +01:00
hathach
f1ce4918c2 update make to use FreeRTOSConfig in family instead of examples 2025-02-11 21:44:35 +07: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
123f1affb7 update device_info example to work with p4 dcache 2024-11-27 00:01:37 +07:00
hathach
67e92e6688 add TUH_EPBUF_DEF for cdc host 2024-11-26 22:07:28 +07:00
hathach
e9a3f88894 add buffer note for host msc api 2024-11-26 17:28:27 +07:00
hathach
d9f3e7dd25 add TUH_EPBUF_DEF for hid host 2024-11-26 16:32:19 +07:00
hathach
34346d61f0 missing host/cdc_msc_hid_freertos 2024-11-21 18:08:52 +07:00
hathach
aeae2966a2 hil add stm32f723disco, add test flags for device/host/dual 2024-11-13 13:08:30 +07:00
hathach
839ec17292 fix example build 2024-11-12 22:03:13 +07:00
hathach
e391e33492 update host/device_info to build with freertos for espressif board. Add hil test for host/device_info 2024-11-12 19:00:00 +07:00
hathach
3831786ede minor clean up 2024-11-08 22:53:28 +07:00
hathach
ab8160a29b hcd work with esp32p4 in slave mode but have issue with DMA mode. In slave it enumerate device but has issue with msc bulk in 2024-11-07 16:37:33 +07:00
hathach
9920ebff4a update bsp for h7 to support host mode 2024-11-07 15:04:19 +07:00
hathach
4baeeeb564 enable stm32f4 host 2024-11-07 09:49:04 +07:00
hathach
9afa64014c testing hcd with dma, work well after enumeration. 2024-10-31 21:37:57 +07:00
hathach
f953b6bf92 minor rename 2024-10-28 18:40:21 +07:00
hathach
f5978876d2 get hprt interrupt triggered 2024-10-21 11:43:37 +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
10a3aa3cc8 adding hcd dwc2 2024-10-15 13:03:12 +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
graham sanderson
31a979a6cc fix some clang compiler warnings 2024-07-18 11:11:06 +01:00
hathach
de62b55042 add dual/host_info_to_device_cdc example 2024-06-18 13:29:04 +07:00
hathach
d945261aef LOG3 in isr 2024-06-18 12:53:57 +07:00
hathach
f93eb40b1d add host/device_info example 2024-06-18 12:52:32 +07:00
Ha Thach
3e2ea77506 More ci tweak (#2636)
* change concurrency group to ${{ github.workflow }}-${{ github.ref }}
* use argparse for build.py hil_test.py, remove the need to install click
* move ci win/mac to build_cmake.yml
* rename build_family.yml to build_util.yml
* build_util.yml support esp32
* integrate build-espressif into build.yml
* build.py support make with --board option
* add get_deps action
* update hil test to reuse action
2024-05-10 18:55:43 +07:00
HiFiPhile
69313ef455 Merge pull request #2609 from tyustli/patch-1
Remove redundant header file includes for the hid class
2024-04-26 00:22:22 +02:00
hathach
223ce56625 - add esp32 c3, c6 mcu option
- skip breakpoint for espressif riscv
2024-04-26 00:10:57 +07:00
hathach
2e995d7cf4 adding support for esp32 for use with max3421e host 2024-04-25 20:23:40 +07:00
tyustli
1e7091dae9 fix ci error 2024-04-25 19:47:12 +08:00
hathach
b67cb26e51 change hil board s3 devkitm (devkitc seems to have usb issue with cp2104) 2024-04-24 16:17:33 +07:00
hathach
db30eee0fc clang tested with mcb1800, add heap to lpc18 linker 2024-04-22 18:31:11 +07:00
hathach
c097c85dcf fix print lu format warnings with clang 2024-04-22 16:17:22 +07:00
hathach
62331f0207 fix nrfx v3 spim freq when init
fix clang build with nrf
2024-04-22 15:55:50 +07:00
hathach
c8e533e612 fix build with nrfx v3, though max3421e spi does not seem to work well. 2024-04-22 14:54:35 +07:00
hathach
f603c4a330 skip cdc_msc_hid_freertos example for rp2040 2024-04-04 13:01:16 +07:00
hathach
94c27fcdf7 skip rp2040 build for cdc_msc_hid_freertos 2024-03-22 20:19:12 +07:00
hathach
baffadca91 remove pca10095 suppport for max3421
also remove pico_bootsel_via_double_reset from rp2040
2024-03-22 17:54:08 +07:00
hathach
9b6f13716f correct rp2040 host with max3421 2024-03-04 16:14:53 +07:00
hathach
87d509d416 make CFG_TUH_CDC_LINE_CODING_ON_ENUM optional for ch34x 2024-01-20 01:42:31 +07:00
hathach
98781bb903 - add ch34x_set_data_format()
- add ch34x_set_line_coding()
2024-01-19 15:58:05 +07:00
IngHK
c2bbcc9f60 initial support of CH34x CDC device 2023-12-26 20:14:03 +01:00
hathach
551e47a464 allow rp2040 to use max3421e as host controller
- fix warnings build hcd max3421 with rp2040
- add tinyusb_host_max3421 target for rp2040 cmake, -DMAX3421_HOST=1
will enable this
- add max3421 driver implementation for rp2040 family
- update tusb_config for host to allow easy enable host selection for
rp2040 (default/pio-usb/max3421)
2023-12-26 22:50:01 +07:00