summaryrefslogtreecommitdiff
path: root/shared-module/usb_midi
AgeCommit message (Collapse)Author
2021-04-02update tinyusb to fix midi buffer overflow issuehathach
2021-03-15run code formatting scriptmicroDev
2020-11-28Fix align32_size().Christian Walther
It not only caused crashes with requests larger than 64K (can happen with RGBMatrix), but also generated a lot longer code than necessary.
2020-11-28Add movable allocation system.Christian Walther
This allows calls to `allocate_memory()` while the VM is running, it will then allocate from the GC heap (unless there is a suitable hole among the supervisor allocations), and when the VM exits and the GC heap is freed, the allocation will be moved to the bottom of the former GC heap and transformed into a proper supervisor allocation. Existing movable allocations will also be moved to defragment the supervisor heap and ensure that the next VM run gets as much memory as possible for the GC heap. By itself this breaks terminalio because it violates the assumption that supervisor_display_move_memory() still has access to an undisturbed heap to copy the tilegrid from. It will work in many cases, but if you're unlucky you will get garbled terminal contents after exiting from the vm run that created the display. This will be fixed in the following commit, which is separate to simplify review.
2019-07-24update tinyusb lib to 0.5.xhathach
2019-02-06Remove usb_midi.PortIn and PortOut constructors.Craig Forbes
2019-01-10Polish thanks to Dan's feedbackScott Shawcroft
2019-01-09Add USB MIDI support for SAMD and nRF.Scott Shawcroft
The API should be identical to using a UART for MIDI. Fixes #672