diff --git a/tools/platformio-build.py b/tools/platformio-build.py index 035173d7..21174a51 100644 --- a/tools/platformio-build.py +++ b/tools/platformio-build.py @@ -109,7 +109,8 @@ env.Append( "-Wl,-EL", "-T", "esp32.common.ld", "-T", "esp32.rom.ld", - "-T", "esp32.peripherals.ld" + "-T", "esp32.peripherals.ld", + "-u", "ld_include_panic_highint_hdl" ], UPLOADERFLAGS=[