HiFiPhile
6346fbec16
Merge branch 'master' into h7rs
2025-05-15 21:40:36 +02:00
hathach
baf67539fc
fix warnings, minor clean up
2025-05-13 12:16:22 +07:00
hathach
741cb3cf02
rename hcd_devtree_info_t to tuh_bus_info_t, hcd_devtree_get_info to hcd_bus_info_get
...
streamline bus info to usbh_devies, also replace dev0 (renamed to dev0_bus)
2025-04-23 12:35:32 +07:00
HiFiPhile
9645baa42e
include h7rs in host examples.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-04-22 20:19:34 +02:00
hathach
b1eedf4d1d
fix iar make build with wb and u5
2025-04-17 14:40:43 +07:00
hathach
4787cd5f54
fix(hcd) hcd_edpt_open() return true if endpoint is already opened.
2025-04-03 18:11:33 +07:00
hathach
99673cdbb8
fix wanings
2025-03-25 17:36:15 +07:00
hathach
65e01fff2e
add tuh_edpt_close() API, it will abort any pending transfer
...
implement hcd_edpt_close() for pio-usb and max3421e, also move max3421e api into its own header.
2025-03-25 16:15:58 +07:00
hathach
e54753814b
enable hil dual for metro m4 with max3421
2025-03-21 00:11:18 +07:00
Ha Thach
02a630b3da
Merge pull request #1627 from atoktoto/midihost
...
RP2040 MIDI Host
2025-03-09 19:01:10 +07:00
hathach
65e44e0a51
fix(dwc2) host driver conflict with max3421e
2025-03-06 22:46:21 +07:00
hathach
39e6375b74
midi host: skip rx data with all zeroes
2025-03-06 10:26:45 +07:00
hathach
8c0c21189c
Merge branch 'master' into fork/atoktoto/midihost
...
# Conflicts:
# src/host/usbh.c
2025-03-05 18:25:31 +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
hathach
d132044b75
add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()
...
change tuh_midi_rx/tx_cb() to have xferred_bytes
rename tuh_midi_get_num_rx/tx_cables() to tuh_midi_get_rx/tx_cable_count()
use default empty callback instead of weak null to be compatible with keil compiler
2025-02-24 16:05:31 +07:00
hathach
56e84bd1a6
add desc_audio_control to midi descriptor callback
2025-02-24 14:40:32 +07:00
hathach
8c70475c23
change API to take index instead of dev address, this allow to support more than 1 midi per device.
2025-02-24 12:39:02 +07:00
hathach
b12c8a9012
remove CFG_MIDI_HOST_DEVSTRINGS support, we will leave that for application to parse/extract this information if needed
...
rename tuh_midi_configure() to mounted() for consistency
2025-02-21 17:31:13 +07:00
hathach
6ebd362cfd
Merge branch 'master' into fork/atoktoto/midihost
...
# Conflicts:
# src/host/usbh.c
2025-02-21 10:59:40 +07:00
Ha Thach
9d2fd6c4ac
Merge pull request #2984 from HiFiPhile/preset
...
Add CMake presets.
2025-02-14 11:29:33 +07:00
hathach
31a2696de7
- change signature of tuh_midi_mount/umount_cb()
...
- rename midi_stream_t to midi_driver_stream_t and move to midi.h (common for device and host)
2025-02-14 11:25:50 +07:00
hathach
ed88fc983f
- remove tuh_midi_read_poll(), auto schedule EP in when set_config() and xfer_cb as well as ep read()
...
- de-dup tuh_midi_get_num_rx/tx_cables
- add tuh_midi_read_available()
2025-02-14 10:41:05 +07:00
hathach
e0b192b633
- use CFG_TUH_MIDI as number of midi host instance
...
- comment out tuh_descriptor_device_cb/tuh_desc_configuration_cb since it is unrelated to this PR
2025-02-12 22:16:08 +07:00
hathach
86d371fb79
more ci fix
2025-02-12 13:58:01 +07:00
hathach
7c405236cf
fix host midi build
2025-02-12 11:50:57 +07:00
hathach
294fb268d7
pre-commit fix
2025-02-12 11:39:26 +07:00
hathach
87adc63226
Merge branch 'master' into fork/atoktoto/midihost
...
# Conflicts:
# hw/bsp/rp2040/family.cmake
# src/class/midi/midi.h
# src/class/midi/midi_device.c
# src/device/usbd_control.c
# src/host/hcd.h
# src/host/usbh.c
# src/host/usbh.h
2025-02-12 11:28:16 +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