Skip to content

Commit 3950b94

Browse files
Avoid spurious GCC 7.x warning in platform.io builds (#1709)
1 parent 99b4aac commit 3950b94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/platformio-build.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def is_pio_build():
112112
CCFLAGS=[
113113
"-Os", # Optimize for size by default
114114
"-Werror=return-type",
115+
"-Wno-psabi",
115116
"-march=armv6-m",
116117
"-mcpu=cortex-m0plus",
117118
"-mthumb",

0 commit comments

Comments
 (0)