Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create MIDI "root complex" abstraction. #3157

Draft
wants to merge 10 commits into
base: community
Choose a base branch
from

Conversation

sapphire-arches
Copy link
Collaborator

This is basically here as an intermediate step for the tinyusb integration, where the guts of all the USB classes will be ripped out and replaced with stuff that calls in to tinyusb.

Draft until #3136 is merged, as this PR builds on that one (only the last 3 commits here are new).

this logic is mostly identical, just the location the cable is stored
changes.
 - it should actually send to the correct port now
 - it will no longer send to devices that can't be sent to
This function should be a noop since the relevant locations call through
virtual function calls.
Also introduces an RAII version of the USB lock
This breaks the ability to plug in the USB cable in peripheral mode and
have everything automatically link up (connections saved in flash and
the active song), but this seems uncommon and should be handled via a
`onUSBDeviceAttach` event anyway as it would provide better support when
hosting devices.
Copy link
Contributor

Test Results

106 tests  ±0   106 ✅ ±0   0s ⏱️ ±0s
 16 suites ±0     0 💤 ±0 
 16 files   ±0     0 ❌ ±0 

Results for commit d3d5a71. ± Comparison against base commit 547b62b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant