diff --git a/cores/rp2040/StackThunk.cpp b/cores/rp2040/StackThunk.cpp index 062ad7e94..ab2aa044a 100644 --- a/cores/rp2040/StackThunk.cpp +++ b/cores/rp2040/StackThunk.cpp @@ -29,7 +29,7 @@ extern "C" { uint32_t *stack_thunk_save = nullptr; /* Saved A1 while in BearSSL */ uint32_t stack_thunk_refcnt = 0; - /* Largest stack usage seen in the wild at 6120 */ + /* Largest stack usage seen in the wild at 6120 */ #define _stackSize (6400/4) #define _stackPaint 0xdeadbeef @@ -37,10 +37,6 @@ extern "C" { void stack_thunk_add_ref() { stack_thunk_refcnt++; if (stack_thunk_refcnt == 1) { - // The stack must be in DRAM, or an Soft WDT will follow. Not sure why, - // maybe too much time is consumed with the non32-bit exception handler. - // Also, interrupt handling on an IRAM stack would be very slow. - // Strings on the stack would be very slow to access as well. stack_thunk_ptr = (uint32_t *)malloc(_stackSize * sizeof(uint32_t)); if (!stack_thunk_ptr) { // This is a fatal error, stop the sketch diff --git a/libraries/MIDIUSB b/libraries/MIDIUSB index 9be8b7c91..3d0d658bd 160000 --- a/libraries/MIDIUSB +++ b/libraries/MIDIUSB @@ -1 +1 @@ -Subproject commit 9be8b7c9146cf65c22465d2a375005d77c314c9c +Subproject commit 3d0d658bd5d47d62eeb617f809f48919f58a68ce