Add missing "-mlongcalls" flag to PlatformIO build script (#4420)

Fixes possible issues with assembly files in external libraries
This commit is contained in:
Valerii Koval 2020-10-16 21:58:05 +03:00 committed by GitHub
parent 25bd585c25
commit 1287c52933
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ FRAMEWORK_DIR = platform.get_package_dir("framework-arduinoespressif32")
assert isdir(FRAMEWORK_DIR) assert isdir(FRAMEWORK_DIR)
env.Append( env.Append(
ASFLAGS=["-x", "assembler-with-cpp"], ASFLAGS=["-x", "assembler-with-cpp", "-mlongcalls"],
CFLAGS=[ CFLAGS=[
"-std=gnu99", "-std=gnu99",