From 6cf31d431148b81c7d27436af0e72fb6fda141e1 Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 27 Jun 2021 12:03:43 +0200 Subject: [PATCH 1/2] Use ArduinoEsp8266 core 3.0.1 --- platformio_tasmota_cenv_sample.ini | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platformio_tasmota_cenv_sample.ini b/platformio_tasmota_cenv_sample.ini index 036a7764a..662d5dfa2 100644 --- a/platformio_tasmota_cenv_sample.ini +++ b/platformio_tasmota_cenv_sample.ini @@ -6,9 +6,9 @@ ;build_flags = ${core_stage.build_flags} [core_stage] -; *** Esp8266 core for Arduino version stage -platform = espressif8266 @ 3.0.0 -platform_packages = +; *** Esp8266 core for Arduino 3.0.1 +platform = espressif8266 +platform_packages = framework-arduinoespressif8266 @ https://github.com/esp8266/Arduino/releases/download/3.0.1/esp8266-3.0.1.zip ; *** 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} From 73be716be5cf422527b06eb8d851b3e9e7bab377 Mon Sep 17 00:00:00 2001 From: Jason2866 Date: Sun, 27 Jun 2021 10:30:11 +0000 Subject: [PATCH 2/2] Core 3.0.1 include fix --- lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h b/lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h index f867ac8db..103215655 100644 --- a/lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h +++ b/lib/lib_basic/NeoPixelBus/src/internal/NeoEsp8266DmaMethod.h @@ -39,7 +39,11 @@ extern "C" #include "ets_sys.h" #include "i2s_reg.h" +#ifndef ARDUINO_ESP8266_RELEASE_3_0_1 #include "i2s.h" +#else +#include "core_esp8266_i2s.h" +#endif #include "eagle_soc.h" #include "esp8266_peri.h" #include "slc_register.h"