Skip to content

Commit 1287c52

Browse files
authored
Add missing "-mlongcalls" flag to PlatformIO build script (espressif#4420)
Fixes possible issues with assembly files in external libraries
1 parent 25bd585 commit 1287c52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/platformio-build.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
assert isdir(FRAMEWORK_DIR)
3636

3737
env.Append(
38-
ASFLAGS=["-x", "assembler-with-cpp"],
38+
ASFLAGS=["-x", "assembler-with-cpp", "-mlongcalls"],
3939

4040
CFLAGS=[
4141
"-std=gnu99",

0 commit comments

Comments
 (0)