mirror of https://github.com/arendst/Tasmota.git
Merge pull request #13545 from Jason2866/platformio
Stabilize Platformio when overriding
This commit is contained in:
commit
615f38f804
|
@ -91,8 +91,9 @@ lib_extra_dirs = ${library.lib_extra_dirs}
|
|||
[env:tasmota32_base]
|
||||
; *** Uncomment next lines ";" to enable Beta Tasmota Arduino version ESP32 IDF4.4
|
||||
;platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master
|
||||
;platform_packages = ${core32.platform_packages}
|
||||
; framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/2.0.1rc1/framework-arduinoespressif32-release_IDF4.4.tar.gz
|
||||
;platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/2.0.1rc1/framework-arduinoespressif32-release_IDF4.4.tar.gz
|
||||
; platformio/tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v3.2/esptool-v3.2.zip
|
||||
; platformio/tool-mklittlefs @ ~1.203.200522
|
||||
build_unflags = ${esp32_defaults.build_unflags}
|
||||
build_flags = ${esp32_defaults.build_flags}
|
||||
|
||||
|
|
|
@ -1,25 +1,12 @@
|
|||
; *** Tasmota32 development core version ESP32 IDF4.4
|
||||
[env:tasmota32-dev]
|
||||
extends = env:tasmota32idf4
|
||||
platform_packages = ${core32.platform_packages}
|
||||
framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/511/framework-arduinoespressif32-release_v4.4-432c3c78c.tar.gz
|
||||
extends = env:tasmota32_base
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/Jason2866/esp32-arduino-lib-builder/releases/download/511/framework-arduinoespressif32-release_v4.4-432c3c78c.tar.gz
|
||||
platformio/tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v3.2/esptool-v3.2.zip
|
||||
platformio/tool-mklittlefs @ ~1.203.200522
|
||||
build_flags = ${env:tasmota32idf4.build_flags}
|
||||
-D FIRMWARE_TASMOTA32
|
||||
|
||||
[env:tasmota-rangeextender]
|
||||
build_flags = ${env.build_flags}
|
||||
-D FIRMWARE_RANGE_EXTENDER
|
||||
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||
-D USE_WIFI_RANGE_EXTENDER
|
||||
-D USE_WIFI_RANGE_EXTENDER_NAPT
|
||||
|
||||
[env:tasmota32-rangeextender]
|
||||
extends = env:tasmota32idf4
|
||||
build_flags = ${env:tasmota32idf4.build_flags}
|
||||
-D FIRMWARE_TASMOTA32
|
||||
-D USE_WIFI_RANGE_EXTENDER
|
||||
-D USE_WIFI_RANGE_EXTENDER_NAPT
|
||||
|
||||
;*** Beta Tasmota version for ESP32-S2
|
||||
;*** Example how to override the standard core with [tasmota32-dev] core
|
||||
[env:tasmota32s2]
|
||||
|
@ -34,6 +21,20 @@ lib_extra_dirs = lib/libesp32
|
|||
lib/lib_ssl
|
||||
lib/lib_display
|
||||
|
||||
[env:tasmota-rangeextender]
|
||||
build_flags = ${env.build_flags}
|
||||
-D FIRMWARE_RANGE_EXTENDER
|
||||
-D PIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||
-D USE_WIFI_RANGE_EXTENDER
|
||||
-D USE_WIFI_RANGE_EXTENDER_NAPT
|
||||
|
||||
[env:tasmota32-rangeextender]
|
||||
extends = env:tasmota32idf4
|
||||
build_flags = ${env:tasmota32idf4.build_flags}
|
||||
-D FIRMWARE_TASMOTA32
|
||||
-D USE_WIFI_RANGE_EXTENDER
|
||||
-D USE_WIFI_RANGE_EXTENDER_NAPT
|
||||
|
||||
; *** Debug version used for PlatformIO Home Project Inspection
|
||||
[env:tasmota-debug]
|
||||
build_type = debug
|
||||
|
|
|
@ -36,8 +36,9 @@ lib_ignore =
|
|||
[env:tasmota32idf4]
|
||||
extends = env:tasmota32_base
|
||||
platform = https://github.com/platformio/platform-espressif32.git#feature/arduino-idf-master
|
||||
platform_packages = ${core32.platform_packages}
|
||||
framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/2.0.1rc1/framework-arduinoespressif32-release_IDF4.4.tar.gz
|
||||
platform_packages = framework-arduinoespressif32 @ https://github.com/tasmota/arduino-esp32/releases/download/2.0.1rc1/framework-arduinoespressif32-release_IDF4.4.tar.gz
|
||||
platformio/tool-esptoolpy @ https://github.com/tasmota/esptool/releases/download/v3.2/esptool-v3.2.zip
|
||||
platformio/tool-mklittlefs @ ~1.203.200522
|
||||
build_unflags = ${env:tasmota32_base.build_unflags}
|
||||
-Wswitch-unreachable
|
||||
-Wstringop-overflow
|
||||
|
|
Loading…
Reference in New Issue