Patrick Plenefisch
937b07cdc0
Fix version string to actually be the version
2025-04-11 18:19:39 -04:00
HiFiPhile
925010fd84
host/dwc2: resume OUT transfer when PING ACKed
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-04-11 17:18:36 +02:00
Maxime Vincent
2064ee470d
dwc2/host: attach debouncing fixes
2025-04-11 12:26:36 +02:00
Maxime Vincent
72357cdb20
dwc2/host: HFIR: Fix timing off-by-one
2025-04-11 12:20:24 +02:00
HiFiPhile
2aff61ccb3
Fix CI.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-04-09 19:40:03 +02:00
HiFiPhile
084c0802c3
dwc2: refactor bitfields.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-04-09 19:34:56 +02:00
Maxime Vincent
6607b76c76
dwc2/host: remove hcd_event_device_remove() call from handle_hptr_irq to prevent double removal
...
Signed-off-by: Maxime Vincent <maxime@veemax.be >
2025-04-08 14:34:21 +02:00
Maxime Vincent
7d8433abab
dwc2/host: enable disconnect interrupt + handle it
...
Signed-off-by: Maxime Vincent <maxime@veemax.be >
2025-04-07 11:36:06 +02:00
HiFiPhile
42213eff2b
Merge pull request #3063 from maximevince/dwc2-host-fix-sof-flag
...
dwc2/host: clear SOF flag in handle_sof_irq()
2025-04-06 14:05:28 +02:00
Maxime Vincent
255ccf26ea
dwc2/host: clear SOF flag in handle_sof_irq()
2025-04-04 14:21:20 +02:00
hathach
4787cd5f54
fix(hcd) hcd_edpt_open() return true if endpoint is already opened.
2025-04-03 18:11:33 +07:00
Ha Thach
8c1802e41d
Merge pull request #3043 from hathach/hcd-close-ep
...
feat(host) add endpoint close API and feat(HIL) improvement
2025-03-27 10:47:10 +07:00
hathach
e511d00f34
added hcd_edpt_close() stub for other ports
2025-03-26 22:11:44 +07:00
hathach
901ce2ad93
hcd/ehci: hcd_edpt_open() return false if ep is already opened. implement hcd_edpt_close()
2025-03-26 21:32:18 +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
db537861b2
device cdc: rename tud_cdc_configure_fifo/_t to tud_cdc_configure/_t
...
add tx_overwritabe_if_not_connected for cdc driver configure
2025-03-24 22:58:21 +07:00
hathach
9f541a3d96
host: add tuh_enum_descriptor_device_cb() and tuh_enum_descriptor_configuration_cb() callback
...
host: support device with multiple configurations
2025-03-24 22:55:04 +07:00
rppicomidi
3324a327cb
Fix #3033 : address review comment
2025-03-21 07:14:10 -07:00
rppicomidi
b0def52f45
Move misplaced statement
2025-03-21 07:13:01 -07:00
hathach
e54753814b
enable hil dual for metro m4 with max3421
2025-03-21 00:11:18 +07:00
rppicomidi
4b46493cb4
Fix #3033 : Increase array bounds and test for overflow
2025-03-20 06:27:23 -07:00
rppicomidi
05e4f8b777
Move iInterface per review comment
2025-03-19 05:57:01 -07:00
rppicomidi
62f00bdf5d
Fix compiler conversion error warning
2025-03-18 07:42:47 -07:00
rppicomidi
5ecea4eefe
fix tuh_midi_itf_get_info() desc->iInterface value
2025-03-18 07:41:49 -07:00
rppicomidi
31b3a2f63b
Fix 3031: implement tuh_midi_itf_get_info()
2025-03-17 07:41:51 -07:00
HiFiPhile
585bcbfcdd
Fix 2 IAR warnings.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-03-16 00:07:15 +01:00
HiFiPhile
de45e4b01a
Add ctrl buffer alignment.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-03-15 23:49:11 +01:00
rppicomidi
b80800f182
Only clear stream_read & stream_write if they are defined
2025-03-13 10:04:56 -07:00
Cynventria[CitRA]
cf94b3f5fc
fix desc_end in vendord_open()
...
minor fix on calculation of desc_end in vendord_open( ) for descriptor prasing
2025-03-10 14:22:29 +08:00
Ha Thach
02a630b3da
Merge pull request #1627 from atoktoto/midihost
...
RP2040 MIDI Host
2025-03-09 19:01:10 +07:00
Ha Thach
334ac80726
Merge pull request #2937 from pschatzmann/rp2040-iso
...
rp2040 correct dcd_edpt_iso_activate
2025-03-07 10:03:58 +07:00
hathach
65e44e0a51
fix(dwc2) host driver conflict with max3421e
2025-03-06 22:46:21 +07:00
hathach
ee234a84ca
hack: force/overwrite endpoint mps to 64 for device that incorrectly report 512 bytes for bulk in fullspeed mode.
2025-03-06 11:03:47 +07:00
hathach
39e6375b74
midi host: skip rx data with all zeroes
2025-03-06 10:26:45 +07:00
hathach
102c1991d0
rp2040: abort transfer if active in iso_activate()
...
add hw_endpoint_abort_xfer()
2025-03-05 22:26:28 +07:00
hathach
3ea71b67b1
Merge branch 'master' into fork/pschatzmann/rp2040-iso
2025-03-05 22:25:58 +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
93ff3daa11
fix(hcd_rp2040) assert/panic endpoint already active: when a device reset while having on-going control transfer
2025-02-28 16:41:51 +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
71e046d9ff
add tuh_midi_descriptor_cb()
2025-02-24 10:55:03 +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
hathach
70ddb7a867
more hub improve, handle more failed transfer with polling interrupt status endpoint
2025-02-19 15:50:42 +07:00
hathach
27a4895b79
complete separate hub epbuf from itf
...
add hub_get_status(), hub_clear_feature()
2025-02-19 12:58:03 +07:00
hathach
48a43a675c
move status_change to epbuf
...
improve hub_xfer_cb()
rename internal complete function
2025-02-19 11:27:33 +07:00
hathach
792a446405
usbh always retry control transfer (max 3) in case of XFER_RESULT_FAILED.
...
added tuh_connected()
2025-02-17 22:40:19 +07:00
hathach
18d566b94c
improve hub: retry if hub interrupt endpoint failed
...
bump up pio-usb to latest
2025-02-17 17:06:51 +07:00