silence some compiler warnings

in the experimental builds
This commit is contained in:
Jason2866 2021-08-25 14:42:25 +02:00 committed by GitHub
parent 6e2a3f5d60
commit 4b5ba3971b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -54,6 +54,7 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/
build_unflags = ${env:tasmota32_base.build_unflags}
-Wswitch-unreachable
-Wstringop-overflow
-Wincompatible-pointer-types
build_flags = ${env:tasmota32_base.build_flags}
-Wno-switch-unreachable
-Wno-stringop-overflow
@ -78,10 +79,13 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/
platformio/tool-mklittlefs @ ~1.203.200522
build_unflags = ${env:tasmota32_base.build_unflags}
-Wswitch-unreachable
-Wstringop-overflow
-Wincompatible-pointer-types
-mtarget-align
-DNDEBUG
build_flags = ${env:tasmota32_base.build_flags}
-Wno-switch-unreachable
-Wno-stringop-overflow
; *** Comment next two lines to disable BLE
-DUSE_BLE_ESP32
-DUSE_MI_ESP32
@ -108,9 +112,11 @@ platform_packages = framework-arduinoespressif32 @ https://github.com/
platformio/tool-mklittlefs @ ~1.203.200522
build_unflags = ${env:tasmota32_base.build_unflags}
-Wswitch-unreachable
-Wstringop-overflow
-Wincompatible-pointer-types
build_flags = ${env:tasmota32_base.build_flags}
-Wno-switch-unreachable
-Wno-stringop-overflow
; ***Uncomment next two lines to enable BLE
;-DUSE_BLE_ESP32
;-DUSE_MI_ESP32