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
hathach
6ebd362cfd
Merge branch 'master' into fork/atoktoto/midihost
...
# Conflicts:
# src/host/usbh.c
2025-02-21 10:59:40 +07:00
Ha Thach
1cfc88dbcb
Merge pull request #2994 from hathach/enhance-hub
...
Enhance hub driver
2025-02-21 10:36:52 +07:00
hathach
61aab7a86a
pio-usb now only need sysclk to be multiple of 12Mhz
2025-02-20 22:18:33 +07:00
hathach
cafc788508
change pio-usb to wip fork for testing
2025-02-20 16:16:07 +07:00
hathach
6572c1da0d
add fruitjam bsp
2025-02-20 15:47:29 +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
hathach
997771fdba
- rename tuh_midi_stream_flush() to tuh_midi_write_flush()
...
- add tuh_midi_packet_read_n() and tuh_midi_packet_write_n()
- add CFG_TUH_MIDI_STREAM_API to opt out stream API
2025-02-14 16:21:48 +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
bad6cbe489
update midi host to use endpoint stream API
2025-02-13 15:54:31 +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
85247e50dd
clean up
2025-02-12 11:34:32 +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
Ha Thach
5afcfb7522
Merge pull request #2989 from hathach/rtos-house-keeping
...
Rtos house keeping
2025-02-11 22:54:57 +07:00
hathach
3560ed3d98
remove board_mcu.h
2025-02-11 21:55:28 +07:00
hathach
f1ce4918c2
update make to use FreeRTOSConfig in family instead of examples
2025-02-11 21:44:35 +07:00
hathach
5a39bcf79c
remove freeeRTOSConfig in examples
2025-02-11 21:19:09 +07:00
Ha Thach
bb48e6acc8
Merge pull request #2988 from hathach/update-iar-cloud-lms
...
update IAR LMS CLOUD
2025-02-11 21:18:16 +07:00
hathach
f23bef5fd8
update IAR LMS CLOUD
2025-02-11 20:30:07 +07:00
Ha Thach
457c2b55da
Merge pull request #2914 from ReimuNotMoe/master
...
Various fixes for the Microchip Chipidea FS driver
2025-02-11 16:50:44 +07:00
Ha Thach
24b2abbb05
Merge pull request #2982 from hathach/fix-stringop-overread-warning
...
fix stringop-overread warning for msc device with memmove
2025-02-10 13:47:52 +07:00
HiFiPhile
1208f88b6e
Sort list (bettter for Clion)
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-02-09 18:40:30 +01:00
HiFiPhile
09bce3532c
Add CMake presets.
...
Signed-off-by: HiFiPhile <admin@hifiphile.com >
2025-02-09 00:25:38 +01:00
Ha Thach
35e9f03324
Merge pull request #2911 from jay94ks/styluspen
...
Adding Stylus-Pen Device Support.
2025-02-07 16:56:22 +07:00
hathach
a232644cbd
add full hid usage for Digitizer Page (0x0D), move thing around a bit.
2025-02-07 16:38:14 +07:00
hathach
cd0ca4832d
Merge branch 'refs/heads/master' into fork/jay94ks/styluspen
2025-02-07 16:37:51 +07:00