From e10cbfc81fceebc37a2384678aa8a0eaa23ae44d Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 1 Nov 2020 15:24:12 +0100 Subject: [PATCH 1/2] No core_version.h in ESP32 stage --- tasmota/tasmota.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index 9e13d9c49..3034013a3 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -34,7 +34,9 @@ \*********************************************************************************************/ // Location specific includes +#ifndef ESP32_STAGE // ESP32 Stage has no core_version.h file. Disable include via PlatformIO Option #include // Arduino_Esp8266 version information (ARDUINO_ESP8266_RELEASE and ARDUINO_ESP8266_RELEASE_2_7_1) +#endif #include "tasmota_compat.h" #include "tasmota_version.h" // Tasmota version information #include "tasmota.h" // Enumeration used in my_user_config.h From ed24e8d99f6408eb67a295c33e63c03e85c6c14b Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Sun, 1 Nov 2020 15:27:26 +0100 Subject: [PATCH 2/2] Build Flag for ESP32 Stage --- platformio_override_sample.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platformio_override_sample.ini b/platformio_override_sample.ini index 058ad1788..dc5555a2e 100644 --- a/platformio_override_sample.ini +++ b/platformio_override_sample.ini @@ -184,12 +184,12 @@ build_flags = ${esp82xx_defaults.build_flags} ; Activate Stage Core32 by removing ";" in next line, if you want to override the standard core32 ;platform_packages = ${core32_stage.platform_packages} - [core32_stage] -platform_packages = tool-esptoolpy@1.20800.0 - ; latest working commit - framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#c09ec5bd3d35ba7dfc135755ab300e2b45416def +platform_packages = tool-esptoolpy@1.20800.0 + framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#f7fb00632e04d74a7890a77fa7dbbb8ae572e866 +build_flags = ${common32.build_flags} + -D ESP32_STAGE=true ; *** Debug version used for PlatformIO Home Project Inspection [env:tasmota-debug]