Merge pull request #9699 from Jason2866/patch-2

Make ESP32 Stage compile possible
This commit is contained in:
Theo Arends 2020-11-01 15:35:37 +01:00 committed by GitHub
commit 16ac196668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -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]

View File

@ -34,7 +34,9 @@
\*********************************************************************************************/
// Location specific includes
#ifndef ESP32_STAGE // ESP32 Stage has no core_version.h file. Disable include via PlatformIO Option
#include <core_version.h> // 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