Skip to content

Commit 1688753

Browse files
committed
CI testing
1 parent 8df4963 commit 1688753

File tree

2 files changed

+75
-21
lines changed

2 files changed

+75
-21
lines changed

platform.local.txt

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1-
# Arduino Compile Warning Levels for the IDE -- removing -Werror=all
2-
compiler.warning_flags.more=-Wall
3-
compiler.warning_flags.all=-Wall -Wextra
1+
# Arduino Compile Warning Levels for the CI -- adding -Werror=all
2+
compiler.warning_flags.more=-Wall -Werror=all
3+
compiler.warning_flags.all=-Wall -Werror=all -Wextra
4+
5+
#Arduino Compiler Warning for CI -- forcing more strict Check
6+
7+
#
8+
# Common Warning ignoring flags
9+
#
10+
#compiler.all.w_flags=-Wno-error=unused-function -Wno-error=unused-variable -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-sign-compare -Wno-error=unused-but-set-variable
11+
compiler.all.w_flags=
12+
13+
#
14+
# ESP32 Support Start
15+
#
16+
compiler.c.w_flags.esp32={compiler.all.w_flags} -Wno-frame-address -Wno-old-style-declaration
17+
compiler.cpp.w_flags.esp32={compiler.all.w_flags} -Wno-frame-address
18+
compiler.S.w_flags.esp32={compiler.all.w_flags}
19+
20+
#
21+
# ESP32S3 Support Start
22+
#
23+
compiler.c.w_flags.esp32s3={compiler.all.w_flags} -Wno-old-style-declaration
24+
compiler.cpp.w_flags.esp32s3={compiler.all.w_flags}
25+
compiler.S.w_flags.esp32s3={compiler.all.w_flags}
26+
27+
#
28+
# ESP32S2 Support Start
29+
#
30+
compiler.c.w_flags.esp32s2={compiler.all.w_flags} -Wno-old-style-declaration
31+
compiler.cpp.w_flags.esp32s2={compiler.all.w_flags}
32+
compiler.S.w_flags.esp32s2={compiler.all.w_flags}
33+
34+
#
35+
# ESP32C3 Support Start
36+
#
37+
compiler.c.w_flags.esp32c3={compiler.all.w_flags} -Wno-format -Wno-error=format= -Wno-old-style-declaration
38+
compiler.cpp.w_flags.esp32c3={compiler.all.w_flags} -Wno-error=format= -Wno-format
39+
compiler.S.w_flags.esp32c3={compiler.all.w_flags} -Wno-error=format= -Wno-format

0 commit comments

Comments
 (0)