Commit Graph

9184 Commits

Author SHA1 Message Date
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
Ha Thach
40ddf0628a Merge pull request #3038 from hathach/update-pio-usb
change pio-usb to upstream
2025-03-17 13:06:10 +07:00
Ha Thach
e0df20f260 change pio-usb to upstream 2025-03-17 12:20:49 +07:00
Ha Thach
e9a1be7e02 Merge pull request #3034 from hathach/ctrl_fix
Fix UAC ctrl buffer alignment.
2025-03-16 11:19:43 +07:00
verylowfreq
cd2b3a5321 Fix interupt, LowSpeed switching and rename 2025-03-16 10:13:26 +09:00
verylowfreq
9ca4bc89a7 Update hcd_init() signature. Add osal_task_delay() implementation for none os. 2025-03-16 10:13:26 +09:00
verylowfreq
426588d947 Fix for timing, timeout, and device switching issues 2025-03-16 10:13:26 +09:00
verylowfreq
382dcca5d6 Update ch32v20x family.cmake 2025-03-16 10:13:26 +09:00
verylowfreq
7ed5503a5c Fix the condition related to CFG_TUH_WCH_USBIP_USBFS macro 2025-03-16 10:13:25 +09:00
hathach
879f78a91d fix pre-commmit 2025-03-16 10:13:25 +09:00
verylowfreq
dc3e6a59a9 Repeat xfer on USB_PID_OUT if data is larger than MaxPacketSize 2025-03-16 10:13:25 +09:00
verylowfreq
c61dfc7c7a Add ch32v20x usbfs hcd initial support. 2025-03-16 10:13:25 +09: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
HiFiPhile
ca750313b2 Update gitignore.
Signed-off-by: HiFiPhile <admin@hifiphile.com>
2025-03-15 21:15:52 +01:00
Ha Thach
5333d042f9 Merge pull request #3029 from rppicomidi/fix_3028
Only clear stream_read & stream_write if they are defined
2025-03-14 16:25:54 +07:00
rppicomidi
b80800f182 Only clear stream_read & stream_write if they are defined 2025-03-13 10:04:56 -07:00
HiFiPhile
f01c4be350 Merge pull request #3020 from Cynventria/fix-desc_end-calculation-in-vendor-device-open
fix desc_end in vendord_open()
2025-03-11 22:59:56 +01: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
dc45903161 Merge pull request #3019 from hathach/fix-pico-examples-build
fix(rp2040) set RTOS as cmake cache to fix pico-example build
2025-03-10 12:18:22 +07:00
hathach
683b1e9702 fix(rp2040) set RTOS as cmake cache to fix pico-example build 2025-03-10 11:20:47 +07:00
Ha Thach
02a630b3da Merge pull request #1627 from atoktoto/midihost
RP2040 MIDI Host
2025-03-09 19:01:10 +07:00
HiFiPhile
29ffd57237 Merge pull request #2990 from dauc/master
Add full/high speed compile flag for Microchip SAME70 examples
2025-03-08 11:57:41 +01:00
Darian Leung
8f288e96a8 refactor: Fix inline literal and code blocks in .rst documents
- Added missing inline literals (double backticks) to any reference of symbol
names and macros
- Added language specifier to "code-block" directives to enable syntax
highlighting when rendered.
2025-03-07 21:21:33 +08:00
Darian Leung
5342f1255a fix: Turn various .rst files from symbolic links to proper files
"code_of_conduct.rst" and "contributors.rst" both contain RST include
directives, but their file types are symoblic links. This commit turns them
into proper files.
2025-03-07 21:19:58 +08: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
Ha Thach
fd3290cbd1 Merge pull request #3011 from hathach/fix-dwc2-host-conflict-max3421e
fix(dwc2) host driver conflict with max3421e
2025-03-07 10:00:03 +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
Ha Thach
6bba41045a Merge pull request #3008 from hathach/add-metro-rp2350
add adafruit metro rp2350
2025-03-05 17:53:45 +07:00
hathach
7dbad0a23e add adafruit metro rp2350 2025-03-04 22:42:27 +07:00
Ha Thach
51cfae6e97 Merge pull request #3007 from hathach/fix-8bitdo-enum
Fix(host) enumeration with 8bitdo devices
2025-03-04 10:47: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
Ha Thach
a29e11404d Merge pull request #3005 from hathach/fix-rp2-picosdk-board
add missing board.h for BOARD=pico_sdk
2025-02-28 12:28:17 +07:00
hathach
c1df796a7c add missing board.h for BOARD=pico_sdk 2025-02-28 12:04:54 +07:00
Ha Thach
72b1fc50e5 Merge pull request #3002 from espressif/fix/remove_deprecated_includes
fix(esp): Remove deprecated include
2025-02-27 21:15:16 +07:00
Tomas Rezucha
720697b6ae fix(esp): Remove deprecated include
soc/usb_pins.h header will be deprecated in IDF v6.0
2025-02-27 12:48:31 +01: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