diff --git a/libraries/GDBStub/src/internal/gdbstub-cfg.h b/libraries/GDBStub/src/internal/gdbstub-cfg.h index f01cf90c1..361de6c7f 100644 --- a/libraries/GDBStub/src/internal/gdbstub-cfg.h +++ b/libraries/GDBStub/src/internal/gdbstub-cfg.h @@ -56,6 +56,6 @@ are called when the flash is disabled (eg due to a Ctrl-C at the wrong time), th likely crash. */ #define ATTR_GDBINIT ICACHE_FLASH_ATTR -#define ATTR_GDBFN +#define ATTR_GDBFN ICACHE_RAM_ATTR #endif