summaryrefslogtreecommitdiff
path: root/src/class/midi
AgeCommit message (Collapse)Author
2025-03-20Fix #3033: Increase array bounds and test for overflowrppicomidi
2025-03-19Move iInterface per review commentrppicomidi
2025-03-18Fix compiler conversion error warningrppicomidi
2025-03-18fix tuh_midi_itf_get_info() desc->iInterface valuerppicomidi
2025-03-17Fix 3031: implement tuh_midi_itf_get_info()rppicomidi
2025-03-13Only clear stream_read & stream_write if they are definedrppicomidi
2025-03-06hack: force/overwrite endpoint mps to 64 for device that incorrectly report ↵hathach
512 bytes for bulk in fullspeed mode.
2025-03-06midi host: skip rx data with all zeroeshathach
2025-02-24add tuh_midi_mount_cb_t struct for tuh_midi_mount_cb()hathach
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-24add desc_audio_control to midi descriptor callbackhathach
2025-02-24change API to take index instead of dev address, this allow to support more ↵hathach
than 1 midi per device.
2025-02-24add tuh_midi_descriptor_cb()hathach
2025-02-21remove CFG_MIDI_HOST_DEVSTRINGS support, we will leave that for application ↵hathach
to parse/extract this information if needed rename tuh_midi_configure() to mounted() for consistency
2025-02-14- rename tuh_midi_stream_flush() to tuh_midi_write_flush()hathach
- 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- change signature of tuh_midi_mount/umount_cb()hathach
- rename midi_stream_t to midi_driver_stream_t and move to midi.h (common for device and host)
2025-02-14- remove tuh_midi_read_poll(), auto schedule EP in when set_config() and ↵hathach
xfer_cb as well as ep read() - de-dup tuh_midi_get_num_rx/tx_cables - add tuh_midi_read_available()
2025-02-13update midi host to use endpoint stream APIhathach
2025-02-12- use CFG_TUH_MIDI as number of midi host instancehathach
- comment out tuh_descriptor_device_cb/tuh_desc_configuration_cb since it is unrelated to this PR
2025-02-12fix host midi buildhathach
2025-02-12pre-commit fixhathach
2025-02-12clean uphathach
2025-02-12Merge branch 'master' into fork/atoktoto/midihosthathach
# 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
2024-11-25try to fix circleci with kinetishathach
2024-11-21use TUD_EPBUF_DEF to declare buffer memory for midihathach
2024-11-21- move freertos_hooks to board.chathach
- add device/midi_test_freertos example - update bth/dfu/midi device for cache line size
2024-04-08add class driver deinithathach
2023-07-24rename CFG_TUSB_MEM_SECTION to CFG_TUD_MEM_SECTION in device stackhathach
CFG_TUD_MEM_SECTION is default to CFG_TUSB_MEM_SECTION
2023-04-18Merge pull request #1920 from mikee47/fix/midi-definitionHa Thach
MIDI_CIN_NOTE_ON definition transposed with MIDI_CIN_NOTE_OFF
2023-03-17fix trailing space and new linehathach
temporarily disable codespell
2023-02-27Merge pull request #1852 from silvergasp/mem_sHa Thach
fix: Replace device calls to memcpy with tu_memcpy_s
2023-02-27minor clean uphathach
2023-02-22MIDI_CIN_NOTE_ON definition transposed with MIDI_CIN_NOTE_OFFmikee47
2023-02-15Fix issue 1909rppicomidi
2023-01-13fix: Replace device calls to memcpy with tu_memcpy_sNathaniel Brough
Introduces a new function tu_memcpy_s, which is effectively a backport of memcpy_s. The change also refactors calls to memcpy over to the more secure tu_memcpy_s.
2022-11-21Explicit type conversionatoktoto
2022-11-21Explicit type conversionatoktoto
2022-11-21Fix usb-hub data transfer problems by AndrewCaponatoktoto
2022-11-19Fix usb hubsatoktoto
2022-11-13Added explicit conversionsatoktoto
2022-11-13Removed unused function prototypeatok
2022-11-13Simple MIDI rx exampleatok
2022-11-13Get rid of implicit uint conversionsatok
2022-11-13Make USB MIDI device code allow a device with no Audio Control interfacerppicomidi
2022-11-13Add MIDI host support to tinyusbrppicomidi
2022-06-27fix most warnings with rp2040 -wconversionhathach
2022-06-02rhport argument in usbd_ API() is not used (always use the initialized port)hathach
remove the usage of TUD_OPT_RHPORT in class driver
2022-02-25rename TUSB_OPT_DEVICE_ENABLED to CFG_TUD_ENABLEDhathach
TUSB_OPT_DEVICE_ENABLED still usable for backward compatible
2021-10-25properly handle Program Change and Channel Aftertouch messagesTod Kurt
2021-10-18fix -Wnull-dereference in midi_devicehathach
2021-08-02fix warninghathach