|
| 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 | +# ANY WARNING will result in Compilation ERROR |
| 7 | + |
| 8 | +# |
| 9 | +# Common Warning ignoring flags |
| 10 | +# |
| 11 | +#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 |
| 12 | +compiler.all.w_flags= |
| 13 | + |
| 14 | +# |
| 15 | +# ESP32 Support Start |
| 16 | +# |
| 17 | +#compiler.c.w_flags.esp32={compiler.all.w_flags} -Wno-frame-address -Wno-old-style-declaration |
| 18 | +#compiler.cpp.w_flags.esp32={compiler.all.w_flags} -Wno-frame-address |
| 19 | +compiler.c.w_flags.esp32={compiler.all.w_flags} |
| 20 | +compiler.cpp.w_flags.esp32={compiler.all.w_flags} |
| 21 | +compiler.S.w_flags.esp32={compiler.all.w_flags} |
| 22 | + |
| 23 | +# |
| 24 | +# ESP32S3 Support Start |
| 25 | +# |
| 26 | +#compiler.c.w_flags.esp32s3={compiler.all.w_flags} -Wno-old-style-declaration |
| 27 | +compiler.c.w_flags.esp32s3={compiler.all.w_flags} |
| 28 | +compiler.cpp.w_flags.esp32s3={compiler.all.w_flags} |
| 29 | +compiler.S.w_flags.esp32s3={compiler.all.w_flags} |
| 30 | + |
| 31 | +# |
| 32 | +# ESP32S2 Support Start |
| 33 | +# |
| 34 | +#compiler.c.w_flags.esp32s2={compiler.all.w_flags} -Wno-old-style-declaration |
| 35 | +compiler.c.w_flags.esp32s2={compiler.all.w_flags} |
| 36 | +compiler.cpp.w_flags.esp32s2={compiler.all.w_flags} |
| 37 | +compiler.S.w_flags.esp32s2={compiler.all.w_flags} |
| 38 | + |
| 39 | +# |
| 40 | +# ESP32C3 Support Start |
| 41 | +# |
| 42 | +#compiler.c.w_flags.esp32c3={compiler.all.w_flags} -Wno-format -Wno-error=format= -Wno-old-style-declaration |
| 43 | +#compiler.cpp.w_flags.esp32c3={compiler.all.w_flags} -Wno-error=format= -Wno-format |
| 44 | +#compiler.S.w_flags.esp32c3={compiler.all.w_flags} -Wno-error=format= -Wno-format |
| 45 | +compiler.c.w_flags.esp32c3={compiler.all.w_flags} |
| 46 | +compiler.cpp.w_flags.esp32c3={compiler.all.w_flags} |
| 47 | +compiler.S.w_flags.esp32c3={compiler.all.w_flags} |
0 commit comments