The existing MidiUartTransport requires both RX and TX to be valid peripherals.
We should add a config option for "direction" (values: in, out, both) and use that to configure the U(S)ART. Many applications only need MIDI input or MIDI output, and therefore only need to initialize a single pin.
Since the MidiUsbTransport moved to it's own file, might be worth moving the MidiUartTransport to it's own file as well just to keep everything clean.
The existing MidiUartTransport requires both RX and TX to be valid peripherals.
We should add a config option for "direction" (values: in, out, both) and use that to configure the U(S)ART. Many applications only need MIDI input or MIDI output, and therefore only need to initialize a single pin.
Since the MidiUsbTransport moved to it's own file, might be worth moving the MidiUartTransport to it's own file as well just to keep everything clean.