Add missing "-mlongcalls" flag to PlatformIO build script (#4420)
Fixes possible issues with assembly files in external libraries
This commit is contained in:
parent
25bd585c25
commit
1287c52933
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user