diff --git a/platformio_tasmota_cenv_sample.ini b/platformio_tasmota_cenv_sample.ini index 21aac4bb2..e8d84aed0 100644 --- a/platformio_tasmota_cenv_sample.ini +++ b/platformio_tasmota_cenv_sample.ini @@ -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