hathach
a1b7e767af
improve midi
...
- fix #436 tud_midi_rx_cb() not invoked
- fix xfer_cb() not handle ep in
- add ZLP if needed
2020-08-24 14:31:46 +07:00
hathach
881025afdc
add new name warning to cdc and midi (skip msc, hid warning for now)
2020-07-17 23:01:39 +07:00
hathach
fea6fb73a1
add fs & hs config for cdc_msc_freertos, midi_test, msc_dual_lun
2020-07-16 13:04:10 +07:00
hathach
8f560bf275
update midi open()
2020-05-28 11:41:37 +07:00
Kay Sievers
73228a67ef
MIDI: Add packet interface
...
This changes the internal buffering to the raw 4-byte messages. The
conversion of the messages to a byte-stream moved to the read/write
methods.
It adds a raw packet interface to send and retrieve the raw 4-byte
USB MIDI message:
static inline bool tud_midi_receive (uint8_t packet[4]);
static inline bool tud_midi_send (uint8_t const packet[4]);
MIDI USB packets carry virtual cable/wire/plug data in the packet header,
which cannot be exported in the byte-stream interface. The raw packet
interface allows to send and and receive the complete USB message.
2020-01-16 10:11:37 +01:00
Nathan Conrad
25c1bea782
Normalize line endings
2020-01-15 14:47:43 -05:00
hathach
33de35504a
more house keeping
2019-07-19 20:20:13 +07:00
hathach
cb4e6837e9
clean up, rename internal driver control_request_complete to simply control_complete
2019-07-12 22:03:40 +07:00
hathach
1b242cb3c6
clean up
2019-07-04 01:31:56 +07:00
hathach
b0e5a1a9ec
remove tud_midi_write_flush() send asap. rename tud_midi_connected() to tud_midi_mounted()
2019-07-04 01:27:51 +07:00
hathach
50f4c61d7c
fix midi_write prototype
2019-07-03 01:22:41 +07:00
hathach
1a0e02fa1b
tested midi example
2019-07-03 00:52:25 +07:00
hathach
62d3b91691
clean up
2019-07-02 18:23:42 +07:00
hathach
3f3ef6f4e6
clean up
2019-07-02 16:42:12 +07:00
hathach
e702328093
fix compiling
2019-07-01 23:11:16 +07:00
hathach
13e01c7dca
add TU_ prefix to compiler ATTR to prevent name conflict with application
2019-06-06 10:39:37 +07:00
hathach
61ec407752
update license year to 2019
2019-05-14 11:48:05 +07:00
hathach
da452d4ba6
cleanup, remove the use of _TINY_USB_SOURCE_FILE_
2019-03-27 17:48:42 +07:00
hathach
c211ee19dd
migrate license from BSD 3 clause to MIT
2019-03-20 16:11:42 +07:00
Scott Shawcroft
a3173b8de4
Add USB Midi support.
...
It also introduces a txbuffer which copies data into it but passes
the buffer straight to the USB rather than another copy.
2019-01-04 12:16:27 -08:00