292 Commits

Author SHA1 Message Date
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
hathach
1a3f5f7a09
update FreeRTOSConfig.h
- remove configAssert()
- configCHECK_HANDLER_INSTALLATION=0 (to prevent unused-parameter error with configAssert(x)=nil
2023-12-18 20:33:43 +07:00
hathach
26ca48e7a7
move make.mk and rules.mk to build_system/make 2023-11-23 20:20:01 +07:00
hathach
aedc92f2d3
fix typo in cdc line coding enum 2023-11-22 11:25:55 +07:00
hathach
86f6588c3f
update example to work with featherwing max3421, set max3421 GPIO0 for vbus
tested with feather nrf52840, m0, m4
2023-11-20 22:09:38 +07:00
hathach
6b8933cfe8
fix build with new freertos host example 2023-09-28 12:55:59 +07:00
hathach
7dc1a66f91
esp32 cdc host with max3421 work well 2023-09-28 11:12:22 +07:00
hathach
277852afc1
fix esp32 msc example 2023-09-28 10:56:38 +07:00
hathach
76c43a5bdc
Merge branch 'master' into add-max3421-esp32 2023-09-27 17:52:18 +07:00
hathach
3b0ffd0f48
change hcd_int_handler(rhport, in_isr) signature: add in_isr
change tuh_int_handler() to take in_isr as optional parameter (default =
true)
2023-09-27 15:51:03 +07:00
hathach
6dc64eaa28
max3421 communication work with esp32 up to enumeration, seems still have a bit of issue 2023-09-27 12:34:45 +07:00
hathach
f6ca86c3dd
tested cdc_msc_hid_freertos with samd51
add -Wno-error=format for espressif
wrap up cdc_msc_hid_freertos
2023-09-26 19:09:36 +07:00
hathach
a7c136c03f
adding host/cdc_msc_hid_freertos example 2023-09-25 16:53:11 +07:00
hathach
ab9585401b
wrap up build cmake & make support for max3421, to enable the Host driver, 'MAX3421_HOST=1' must be added as part of make/cmake command 2023-09-11 11:35:51 +07:00
hathach
41493426b3
use ep buf to keep setup packet, work well with hid device 2023-08-30 16:21:43 +07:00
hathach
84df3b04db
minor update 2023-08-27 23:54:24 +07:00
hathach
502b1bdda6
more update to transaction 2023-08-27 23:45:34 +07:00
hathach
f2f005cbdf
fix build iar with lpc43 2023-08-14 22:01:30 +07:00