You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AMYBOARD_USB_HOST: one-off variant with USB MIDI host + UART REPL
New board variant for AMYboard that runs the USB port as a USB MIDI
*host* (like Tulip CC) instead of the TinyUSB CDC + gadget-MIDI device.
The REPL moves to UART0 — the same pins the stderr console already
uses — so you control the board with a USB-serial dongle on the UART
header while a MIDI keyboard/controller plugs into the USB port.
- boards/AMYBOARD_USB_HOST: BOARD_DEFINITION1=AMYBOARD_USB_HOST,
compiles ../esp32s3/usb_host.c, UART REPL on; otherwise identical
config to AMYBOARD (same sdkconfig list and partition table).
- esp32s3/usb_host.c/h: new USB_HOST_MIDI_ONLY guards (defined when
AMYBOARD) compile out all HID keyboard/mouse/lvgl handling, leaving
the MIDI host in/out paths. TULIP builds are unchanged.
- amyboard/main.c: variant skips TinyUSB device init and starts the
run_usb host task instead; defines tulip_ready (set in
tulip_amyboard_start once AMY is up, gating host MIDI -> AMY).
- amy_connector.c: variant drops AMY_MIDI_IS_USB_GADGET (the TinyUSB
device stack is compiled for amy_midi.c's tud_* references but never
initialized — all tud_* calls are verified no-ops in that state) and
enables the Tulip send_usb_midi_out path for MIDI out to the
attached USB device.
Built and verified: AMYBOARD_USB_HOST, stock AMYBOARD, and TULIP4_R11
all compile clean.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
0 commit comments