Skip to content

Commit 7a20b53

Browse files
Update platform.io to platform C/C++ standards
1 parent 7c29e67 commit 7a20b53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/platformio-build.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def scons_patched_match_splitext(path, suffixes=None):
5454
ASFLAGS=["-x", "assembler-with-cpp"],
5555

5656
CFLAGS=[
57-
"-std=gnu99",
57+
"-std=c17",
5858
"-Wpointer-arith",
5959
"-Wno-implicit-function-declaration",
6060
"-Wl,-EL",
@@ -76,7 +76,7 @@ def scons_patched_match_splitext(path, suffixes=None):
7676

7777
CXXFLAGS=[
7878
"-fno-rtti",
79-
"-std=c++11"
79+
"-std=gnu++17"
8080
],
8181

8282
LINKFLAGS=[

0 commit comments

Comments
 (0)