mirror of https://github.com/arendst/Tasmota.git
Merge pull request #9699 from Jason2866/patch-2
Make ESP32 Stage compile possible
This commit is contained in:
commit
16ac196668
|
@ -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
|
; Activate Stage Core32 by removing ";" in next line, if you want to override the standard core32
|
||||||
;platform_packages = ${core32_stage.platform_packages}
|
;platform_packages = ${core32_stage.platform_packages}
|
||||||
|
|
||||||
|
|
||||||
[core32_stage]
|
[core32_stage]
|
||||||
platform_packages = tool-esptoolpy@1.20800.0
|
platform_packages = tool-esptoolpy@1.20800.0
|
||||||
; latest working commit
|
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#f7fb00632e04d74a7890a77fa7dbbb8ae572e866
|
||||||
framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#c09ec5bd3d35ba7dfc135755ab300e2b45416def
|
|
||||||
|
|
||||||
|
build_flags = ${common32.build_flags}
|
||||||
|
-D ESP32_STAGE=true
|
||||||
|
|
||||||
; *** Debug version used for PlatformIO Home Project Inspection
|
; *** Debug version used for PlatformIO Home Project Inspection
|
||||||
[env:tasmota-debug]
|
[env:tasmota-debug]
|
||||||
|
|
|
@ -34,7 +34,9 @@
|
||||||
\*********************************************************************************************/
|
\*********************************************************************************************/
|
||||||
|
|
||||||
// Location specific includes
|
// 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)
|
#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_compat.h"
|
||||||
#include "tasmota_version.h" // Tasmota version information
|
#include "tasmota_version.h" // Tasmota version information
|
||||||
#include "tasmota.h" // Enumeration used in my_user_config.h
|
#include "tasmota.h" // Enumeration used in my_user_config.h
|
||||||
|
|
Loading…
Reference in New Issue