From 46fc7ec5151b5b4cfb577dbac892a94c3371fbec Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 17 Aug 2020 15:24:53 +0200 Subject: [PATCH 1/3] Error in PIO dev version is fixed --- platformio.ini | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/platformio.ini b/platformio.ini index ae0b57eab..cac96ba03 100644 --- a/platformio.ini +++ b/platformio.ini @@ -85,7 +85,9 @@ extra_scripts = pio/strip-floats.py [esp_defaults] ; *** remove undesired all warnings build_unflags = -Wall -build_flags = -D_IR_ENABLE_DEFAULT_=false + -Wdeprecated-declarations +build_flags = -Wno-deprecated-declarations + -D_IR_ENABLE_DEFAULT_=false -DDECODE_HASH=true -DDECODE_NEC=true -DSEND_NEC=true -DDECODE_RC5=true -DSEND_RC5=true -DDECODE_RC6=true -DSEND_RC6=true ; new mechanism to set the IRremoteESP8266 supported protocols: none except HASH, NEC, RC5, RC6 @@ -98,6 +100,7 @@ build_flags = -D_IR_ENABLE_DEFAULT_=false [esp82xx_defaults] build_flags = ${esp_defaults.build_flags} -Wl,-Map,firmware.map + -D CORE_DEBUG_LEVEL=0 -D NDEBUG -mtarget-align -DFP_IN_IROM @@ -120,8 +123,8 @@ build_flags = -DUSE_IR_REMOTE_FULL [core] -; *** Esp8266 Arduino core core 2.7.4 +; *** Esp8266 Tasmota modified Arduino core based on core 2.7.4 platform = espressif8266@2.6.2 -platform_packages = ;framework-arduinoespressif8266 @ https://github.com/tasmota/Arduino/releases/download/2.7.3.2/esp8266-2.7.3.2.zip +platform_packages = framework-arduinoespressif8266 @ https://github.com/tasmota/Arduino/releases/download/2.7.4.1/esp8266-2.7.4.1.zip build_unflags = ${esp_defaults.build_unflags} build_flags = ${esp82xx_defaults.build_flags} From ee114e6a119c7b1ac9ee1fb150f827b78fe9ebad Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 17 Aug 2020 15:28:57 +0200 Subject: [PATCH 2/3] Core 2.7.4.1 --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 181254a59..feecbcb65 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -6,7 +6,7 @@ - [ ] The pull request is done against the latest dev branch - [ ] Only relevant files were touched - [ ] Only one feature/fix was added per PR. - - [ ] The code change is tested and works on Tasmota core ESP8266 V.2.7.3.2 + - [ ] The code change is tested and works on Tasmota core ESP8266 V.2.7.4.1 - [ ] The code change is tested and works on core ESP32 V.1.12.2 - [ ] I accept the [CLA](https://github.com/arendst/Tasmota/blob/development/CONTRIBUTING.md#contributor-license-agreement-cla). From ce435cc94d57fd72bafab9e2847c8c1759a3495e Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Mon, 17 Aug 2020 15:30:05 +0200 Subject: [PATCH 3/3] based on PIO ESP8266 2.6.2 --- platformio_override_sample.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 692d211c9..facbc450d 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -88,7 +88,7 @@ extra_scripts = ${scripts_defaults.extra_scripts} [tasmota_stage] ; *** Esp8266 core for Arduino version Tasmota stage -platform = espressif8266@2.6.1 +platform = espressif8266@2.6.2 platform_packages = framework-arduinoespressif8266 @ https://github.com/tasmota/Arduino/releases/download/2.7.4.1/esp8266-2.7.4.1.zip build_unflags = ${esp_defaults.build_unflags} build_flags = ${esp82xx_defaults.build_flags} @@ -124,7 +124,7 @@ build_flags = ${esp82xx_defaults.build_flags} [core_stage] ; *** Esp8266 core version. Tasmota stage or Arduino stage version. Built with GCC 10.1 toolchain -platform = espressif8266@2.6.1 +platform = espressif8266@2.6.2 platform_packages = framework-arduinoespressif8266 @ https://github.com/Jason2866/platform-espressif8266/releases/download/2.9.0/framework-arduinoespressif8266-3.20900.0.tar.gz ;framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino.git toolchain-xtensa @ ~2.100100.0