diff --git a/tools/platformio-build.py b/tools/platformio-build.py index ec8d241a..c1c32063 100644 --- a/tools/platformio-build.py +++ b/tools/platformio-build.py @@ -35,7 +35,7 @@ FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoespressif32") assert isdir(FRAMEWORK_DIR) env.Append( - ASFLAGS=["-x", "assembler-with-cpp"], + ASFLAGS=["-x", "assembler-with-cpp", "-mlongcalls"], CFLAGS=[ "-std=gnu99",