mirror of https://github.com/arendst/Tasmota.git
96 lines
4.9 KiB
INI
96 lines
4.9 KiB
INI
[core]
|
|
; Activate (by removing the ";" in the next lines) if you want to override the standard core defined in platformio.ini !!!
|
|
;platform = ${core_dev.platform}
|
|
;platform_packages = ${core_dev.platform_packages}
|
|
;build_unflags = ${core_dev.build_unflags}
|
|
;build_flags = ${core_dev.build_flags}
|
|
|
|
[core_dev]
|
|
; *** Esp8266 core for Arduino 3.0.1
|
|
platform = espressif8266 @ 3.1.0
|
|
platform_packages =
|
|
build_unflags = ${esp_defaults.build_unflags}
|
|
-Wswitch-unreachable
|
|
build_flags = ${esp82xx_defaults.build_flags}
|
|
; *** 16k extra heap https://github.com/esp8266/Arduino/pull/7060
|
|
-D PIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48_SECHEAP_SHARED
|
|
-Wno-switch-unreachable
|
|
|
|
|
|
; *** Tasmota development core version ESP32 IDF3.3.5 / Currently none, same as default
|
|
[env:tasmota32idf3]
|
|
extends = env:tasmota32_base
|
|
platform = espressif32 @ 3.3.0
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/1.0.7.1/tasmota-arduinoespressif32-release_v3.3.5.tar.gz
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
build_flags = ${esp32_defaults.build_flags}
|
|
;-DESP32_STAGE=true
|
|
|
|
;*** EXPERIMENTAL Tasmota version for ESP32-S2
|
|
[env:tasmota32s2]
|
|
extends = env:tasmota32_base
|
|
board = esp32s2
|
|
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/340/framework-arduinoespressif32-master-caf43f7e9.tar.gz
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
build_flags = ${esp32_defaults.build_flags} -DFIRMWARE_LITE
|
|
lib_extra_dirs = lib/libesp32
|
|
lib/lib_basic
|
|
lib_ignore =
|
|
NimBLE-Arduino
|
|
Micro-RTSP
|
|
ESP32-HomeKit
|
|
|
|
; *** EXPERIMENTAL Tasmota version for ESP32-C3
|
|
[env:tasmota32c3]
|
|
extends = env:tasmota32_base
|
|
board = esp32c3
|
|
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/340/framework-arduinoespressif32-master-caf43f7e9.tar.gz
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
-Wswitch-unreachable
|
|
-mtarget-align
|
|
-DNDEBUG
|
|
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
|
|
|
|
; *** EXPERIMENTAL Tasmota version for ESP32 IDF4.4.
|
|
[env:tasmota32idf4]
|
|
extends = env:tasmota32_base
|
|
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master
|
|
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/340/framework-arduinoespressif32-master-caf43f7e9.tar.gz
|
|
platformio/tool-mklittlefs @ ~1.203.200522
|
|
build_unflags = ${esp32_defaults.build_unflags}
|
|
-Wswitch-unreachable
|
|
-Wincompatible-pointer-types
|
|
build_flags = ${esp32_defaults.build_flags}
|
|
-Wno-switch-unreachable
|
|
;-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
|