• Earle F. Philhower, III's avatar
    Remove IRQ-level malloc from USB setup · c3521051
    Earle F. Philhower, III authored
    Fixes a hang found while debugging #614.  Do all memory allocations and
    USB descriptor setup in main code prior to `tusb_init()`.  Avoids potential
    deadlock in cases where the app is allocating while the USB port is being
    set up.
    c3521051
RP2040USB.cpp 11 KB