From 24d4d061331001b092ae514a6d80787db7d1b25f Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Fri, 7 May 2021 18:13:55 +0200 Subject: [PATCH] esp8266 stage now in cenv --- platformio_tasmota_cenv_sample.ini | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/platformio_tasmota_cenv_sample.ini b/platformio_tasmota_cenv_sample.ini index 6570d9e36..e6cca8334 100644 --- a/platformio_tasmota_cenv_sample.ini +++ b/platformio_tasmota_cenv_sample.ini @@ -4,7 +4,27 @@ build_flags = ${common.build_flags} -DUSE_ZIGBEE -DUSE_UFILESYS -; *** EXPERIMENTAL Tasmota version for ESP32-S2 +[core] +; Activate (by removing the ";" in the next lines) if you want to override the standard core defined in platformio.ini !!! +;platform_packages = ${core_stage.platform_packages} +;build_unflags = ${core_stage.build_unflags} +;build_flags = ${core_stage.build_flags} + +[core_stage] +; *** Esp8266 core for Arduino version stage +platform_packages = framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git +; *** Use Xtensa build chain 10.2. GNU23 from https://github.com/earlephilhower/esp-quick-toolchain + tasmota/toolchain-xtensa @ 5.100200.210303 +build_unflags = ${esp_defaults.build_unflags} + -Wswitch-unreachable +build_flags = ${esp82xx_defaults.build_flags} +; *** Use ONE of the two PWM variants. Tasmota default is Locked PWM + ;-DWAVEFORM_LOCKED_PHASE + -DWAVEFORM_LOCKED_PWM + -Wno-switch-unreachable + + +;*** EXPERIMENTAL Tasmota version for ESP32-S2 [env:tasmota32s2] extends = env:tasmota32_base board = esp32s2