2021-05-07 17:13:55 +01:00
|
|
|
[core]
|
|
|
|
; Activate (by removing the ";" in the next lines) if you want to override the standard core defined in platformio.ini !!!
|
2021-06-01 19:48:21 +01:00
|
|
|
;platform = ${core_stage.platform}
|
2021-05-17 14:28:12 +01:00
|
|
|
;platform_packages = ${core_stage.platform_packages}
|
|
|
|
;build_unflags = ${core_stage.build_unflags}
|
|
|
|
;build_flags = ${core_stage.build_flags}
|
2021-05-07 17:13:55 +01:00
|
|
|
|
|
|
|
[core_stage]
|
2021-06-27 11:03:43 +01:00
|
|
|
; *** 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
|
2021-05-07 17:13:55 +01:00
|
|
|
; *** 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}
|
|
|
|
-Wswitch-unreachable
|
|
|
|
build_flags = ${esp82xx_defaults.build_flags}
|
2021-05-23 15:08:15 +01:00
|
|
|
; *** 16k extra heap https://github.com/esp8266/Arduino/pull/7060
|
2021-06-01 19:48:21 +01:00
|
|
|
-D PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48_SECHEAP_SHARED
|
2021-05-07 17:13:55 +01:00
|
|
|
-Wno-switch-unreachable
|
|
|
|
|
|
|
|
|
2021-06-01 18:44:26 +01:00
|
|
|
; *** Tasmota version Stage ESP32 IDF3.3.5
|
|
|
|
[env:tasmota32idf3]
|
2021-06-09 19:39:04 +01:00
|
|
|
extends = env:tasmota32_base
|
|
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/raw/framework-arduinoespressif32/framework-arduinoespressif32-release_v3.3-6aaddf972.tar.gz
|
|
|
|
;framework-arduinoespressif32 @ https://github.com/espressif/arduino-esp32.git#release/v1.0
|
|
|
|
platformio/tool-esptoolpy @ ~1.30100
|
|
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
|
|
build_flags = ${esp32_defaults.build_flags}
|
|
|
|
;-DESP32_STAGE=true
|
2021-06-01 18:44:26 +01:00
|
|
|
|
2021-05-07 17:13:55 +01:00
|
|
|
;*** EXPERIMENTAL Tasmota version for ESP32-S2
|
2021-04-24 18:59:44 +01:00
|
|
|
[env:tasmota32s2]
|
|
|
|
extends = env:tasmota32_base
|
|
|
|
board = esp32s2
|
2021-05-31 18:47:08 +01:00
|
|
|
platform = https://github.com/platformio/platform-espressif32.git#feature/idf-master
|
2021-06-18 14:30:05 +01:00
|
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/307/framework-arduinoespressif32-master-1d7068e4b.tar.gz
|
2021-04-24 18:59:44 +01:00
|
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
2021-06-22 17:38:54 +01:00
|
|
|
build_flags = ${esp32_defaults.build_flags} -DFIRMWARE_LITE
|
2021-04-24 18:59:44 +01:00
|
|
|
lib_extra_dirs = lib/libesp32
|
|
|
|
lib_ignore =
|
|
|
|
NimBLE-Arduino
|
|
|
|
Micro-RTSP
|
|
|
|
ESP32-HomeKit
|
|
|
|
|
|
|
|
; *** EXPERIMENTAL Tasmota version for ESP32-C3
|
|
|
|
[env:tasmota32c3]
|
2021-06-09 19:36:57 +01:00
|
|
|
extends = env:tasmota32_base
|
|
|
|
board = esp32c3
|
2021-06-24 09:47:19 +01:00
|
|
|
platform = https://github.com/platformio/platform-espressif32
|
2021-06-18 14:30:05 +01:00
|
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/307/framework-arduinoespressif32-master-1d7068e4b.tar.gz
|
2021-06-24 09:47:19 +01:00
|
|
|
platformio/tool-esptoolpy @ ~1.30100
|
2021-06-09 19:36:57 +01:00
|
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
|
|
-Wswitch-unreachable
|
|
|
|
-mtarget-align
|
|
|
|
build_flags = ${esp32_defaults.build_flags}
|
|
|
|
-Wno-switch-unreachable
|
|
|
|
;-DESP32_STAGE=true
|
|
|
|
lib_extra_dirs = lib/libesp32
|
|
|
|
lib/libesp32_lvgl
|
|
|
|
lib/lib_basic
|
|
|
|
lib/lib_i2c
|
|
|
|
lib/lib_ssl
|
|
|
|
lib/lib_display
|
|
|
|
lib_ignore =
|
|
|
|
NimBLE-Arduino
|
|
|
|
Micro-RTSP
|
2021-04-24 18:59:44 +01:00
|
|
|
|
|
|
|
; *** EXPERIMENTAL Tasmota version for ESP32 IDF4.4.
|
|
|
|
[env:tasmota32idf4]
|
|
|
|
extends = env:tasmota32_base
|
2021-05-31 18:52:43 +01:00
|
|
|
platform = https://github.com/platformio/platform-espressif32.git#feature/idf-master
|
2021-06-18 14:30:05 +01:00
|
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/307/framework-arduinoespressif32-master-1d7068e4b.tar.gz
|
2021-05-31 19:01:47 +01:00
|
|
|
toolchain-xtensa32 @ ~2.80400.0
|
2021-04-24 18:59:44 +01:00
|
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
|
|
build_flags = ${esp32_defaults.build_flags}
|
|
|
|
;-DESP32_STAGE=true
|
|
|
|
|
|
|
|
; *** Debug version used for PlatformIO Home Project Inspection
|
|
|
|
[env:tasmota-debug]
|
|
|
|
build_type = debug
|
|
|
|
build_unflags = ${esp_defaults.build_unflags}
|
|
|
|
build_flags = ${esp82xx_defaults.build_flags}
|
|
|
|
; -Wstack-usage=300
|
|
|
|
|
|
|
|
[env:tasmota32-debug]
|
|
|
|
extends = env:tasmota32_base
|
|
|
|
build_type = debug
|
|
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
|
|
build_flags = ${esp32_defaults.build_flags}
|
|
|
|
; -Wstack-usage=300
|