mirror of https://github.com/arendst/Tasmota.git
Merge pull request #6926 from Jason2866/patch-1
Support for Arduino Core 2.6.1....
This commit is contained in:
commit
216c548a1e
155
platformio.ini
155
platformio.ini
|
@ -99,18 +99,14 @@ extra_scripts = pio/strip-floats.py
|
||||||
|
|
||||||
[core_active]
|
[core_active]
|
||||||
; Select one core set for platform and build_flags
|
; Select one core set for platform and build_flags
|
||||||
;platform = ${core_2_3_0.platform}
|
;platform = ${core_2_6_0.platform}
|
||||||
;build_flags = ${core_2_3_0.build_flags}
|
;build_flags = ${core_2_6_0.build_flags}
|
||||||
;platform = ${core_2_4_2.platform}
|
platform = ${core_2_6_1.platform}
|
||||||
;build_flags = ${core_2_4_2.build_flags}
|
build_flags = ${core_2_6_1.build_flags}
|
||||||
platform = ${core_2_6_0.platform}
|
|
||||||
build_flags = ${core_2_6_0.build_flags}
|
|
||||||
;platform = ${core_pre.platform}
|
|
||||||
;build_flags = ${core_pre.build_flags}
|
|
||||||
;platform = ${core_pre_ipv6.platform}
|
|
||||||
;build_flags = ${core_pre_ipv6.build_flags}
|
|
||||||
;platform = ${core_stage.platform}
|
;platform = ${core_stage.platform}
|
||||||
;build_flags = ${core_stage.build_flags}
|
;build_flags = ${core_stage.build_flags}
|
||||||
|
;platform = ${core_cstage.platform}
|
||||||
|
;build_flags = ${core_cstage.build_flags}
|
||||||
|
|
||||||
; *********************************************************************
|
; *********************************************************************
|
||||||
|
|
||||||
|
@ -118,29 +114,7 @@ build_flags = ${core_2_6_0.build_flags}
|
||||||
build_flags = -D NDEBUG
|
build_flags = -D NDEBUG
|
||||||
-mtarget-align
|
-mtarget-align
|
||||||
-Wl,-Map,firmware.map
|
-Wl,-Map,firmware.map
|
||||||
|
|
||||||
[core_2_3_0]
|
|
||||||
; *** Esp8266 core for Arduino version 2.3.0
|
|
||||||
; *** W A R N I N G ! *** old outdated Arduino Esp8266 core with many security issues! NOT recommended to use. NO SUPPORT!
|
|
||||||
platform = espressif8266@1.5.0
|
|
||||||
build_flags = ${esp82xx_defaults.build_flags}
|
|
||||||
-Wl,-Tesp8266.flash.1m0.ld
|
|
||||||
|
|
||||||
[core_2_4_2]
|
|
||||||
; *** Esp8266 core for Arduino version 2.4.2
|
|
||||||
; *** W A R N I N G ! *** old outdated Arduino Esp8266 core with security issues. NOT recommended to use. NO SUPPORT!
|
|
||||||
platform = espressif8266@1.8.0
|
|
||||||
build_flags = ${esp82xx_defaults.build_flags}
|
|
||||||
-Wl,-Teagle.flash.1m0.ld
|
|
||||||
-lstdc++ -lsupc++
|
|
||||||
; lwIP 1.4
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
|
||||||
; lwIP 2 - Low Memory
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
|
||||||
; lwIP 2 - Higher Bandwidth (Tasmota default)
|
|
||||||
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
|
||||||
-DVTABLES_IN_FLASH
|
|
||||||
|
|
||||||
[core_2_6_0]
|
[core_2_6_0]
|
||||||
; *** Esp8266 core for Arduino version 2.6.0 (for Windows, most Linux variants and Mac)
|
; *** Esp8266 core for Arduino version 2.6.0 (for Windows, most Linux variants and Mac)
|
||||||
; *** custom setup until the core 2.6.0 version is official released from PlatformIO crew
|
; *** custom setup until the core 2.6.0 version is official released from PlatformIO crew
|
||||||
|
@ -171,6 +145,8 @@ build_flags = ${esp82xx_defaults.build_flags}
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
|
||||||
; lwIP 2 - Higher Bandwidth no Features (Tasmota default)
|
; lwIP 2 - Higher Bandwidth no Features (Tasmota default)
|
||||||
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
||||||
|
; lwIP 2 - Higher Bandwidth IPv6 (use ONLY if you need IPv6, experimental!)
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
|
||||||
; VTABLES in Flash (Tasmota default)
|
; VTABLES in Flash (Tasmota default)
|
||||||
-DVTABLES_IN_FLASH
|
-DVTABLES_IN_FLASH
|
||||||
; VTABLES in Heap
|
; VTABLES in Heap
|
||||||
|
@ -185,18 +161,25 @@ build_flags = ${esp82xx_defaults.build_flags}
|
||||||
; -fexceptions
|
; -fexceptions
|
||||||
; -lstdc++-exc
|
; -lstdc++-exc
|
||||||
|
|
||||||
[core_pre]
|
[core_2_6_1]
|
||||||
; *** Arduino Esp8266 core pre 2.6.x for Tasmota (recommended version, no known issues)
|
; *** Esp8266 core for Arduino version 2.6.1 (for Windows, most Linux variants and Mac)
|
||||||
platform = https://github.com/Jason2866/platform-espressif8266.git#Tasmota
|
; *** custom setup until the core 2.6.0 version is official released from PlatformIO crew
|
||||||
|
platform = https://github.com/Jason2866/platform-espressif8266.git#core_2_6_1
|
||||||
build_flags = ${esp82xx_defaults.build_flags}
|
build_flags = ${esp82xx_defaults.build_flags}
|
||||||
-Wl,-Tesp8266.flash.1m.ld
|
-Wl,-Teagle.flash.1m.ld
|
||||||
-O2
|
-O2
|
||||||
-DBEARSSL_SSL_BASIC
|
-DBEARSSL_SSL_BASIC
|
||||||
; nonos-sdk 22y
|
; NONOSDK221
|
||||||
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK221
|
||||||
; nonos-sdk 22x
|
; NONOSDK22x_190313
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190313
|
||||||
; nonos-sdk-pre-v3
|
; NONOSDK22x_190703
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
|
||||||
|
; NONOSDK22x_191024
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191024
|
||||||
|
; NONOSDK22x_191105 (Tasmota default)
|
||||||
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191105
|
||||||
|
; NONOSDK3V0 (known issues)
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK3
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK3
|
||||||
; lwIP 1.4
|
; lwIP 1.4
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
||||||
|
@ -208,7 +191,9 @@ build_flags = ${esp82xx_defaults.build_flags}
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
|
||||||
; lwIP 2 - Higher Bandwidth no Features (Tasmota default)
|
; lwIP 2 - Higher Bandwidth no Features (Tasmota default)
|
||||||
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
||||||
; VTABLES in Flash (default)
|
; lwIP 2 - Higher Bandwidth IPv6 (use ONLY if you need IPv6, experimental!)
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
|
||||||
|
; VTABLES in Flash (Tasmota default)
|
||||||
-DVTABLES_IN_FLASH
|
-DVTABLES_IN_FLASH
|
||||||
; VTABLES in Heap
|
; VTABLES in Heap
|
||||||
; -DVTABLES_IN_DRAM
|
; -DVTABLES_IN_DRAM
|
||||||
|
@ -218,46 +203,7 @@ build_flags = ${esp82xx_defaults.build_flags}
|
||||||
; No exception code in firmware
|
; No exception code in firmware
|
||||||
-fno-exceptions
|
-fno-exceptions
|
||||||
-lstdc++
|
-lstdc++
|
||||||
; Exception code in firmware /needs much space!
|
; Exception code in firmware /needs much space! 90k
|
||||||
; -fexceptions
|
|
||||||
; -lstdc++-exc
|
|
||||||
|
|
||||||
[core_pre_ipv6]
|
|
||||||
; *** Arduino Esp8266 core pre 2.6.x IPv6 for Tasmota (use ONLY if you need IPv6, experimental!)
|
|
||||||
platform = https://github.com/Jason2866/platform-espressif8266.git#Tasmota
|
|
||||||
build_flags = ${esp82xx_defaults.build_flags}
|
|
||||||
-Wl,-Tesp8266.flash.1m.ld
|
|
||||||
-O2
|
|
||||||
-DBEARSSL_SSL_BASIC
|
|
||||||
; nonos-sdk 22y
|
|
||||||
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
|
|
||||||
; nonos-sdk 22x
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x
|
|
||||||
; nonos-sdk-pre-v3
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK3
|
|
||||||
; lwIP 1.4
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
|
||||||
; lwIP 2 - Low Memory
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
|
||||||
; lwIP 2 - Higher Bandwidth
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
|
||||||
; lwIP 2 - Higher Bandwidth Low Memory no Features
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
|
|
||||||
; lwIP 2 - Higher Bandwidth no Features
|
|
||||||
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
|
||||||
; lwIP 2 - Higher Bandwidth IPv6
|
|
||||||
-DPIO_FRAMEWORK_ARDUINO_LWIP2_IPV6_HIGHER_BANDWIDTH
|
|
||||||
; VTABLES in Flash (default)
|
|
||||||
-DVTABLES_IN_FLASH
|
|
||||||
; VTABLES in Heap
|
|
||||||
; -DVTABLES_IN_DRAM
|
|
||||||
; VTABLES in IRAM
|
|
||||||
; -DVTABLES_IN_IRAM
|
|
||||||
; enable one option set -> No exception recommended
|
|
||||||
; No exception code in firmware
|
|
||||||
-fno-exceptions
|
|
||||||
-lstdc++
|
|
||||||
; Exception code in firmware /needs much space!
|
|
||||||
; -fexceptions
|
; -fexceptions
|
||||||
; -lstdc++-exc
|
; -lstdc++-exc
|
||||||
|
|
||||||
|
@ -305,6 +251,49 @@ build_flags = ${esp82xx_defaults.build_flags}
|
||||||
; -fexceptions
|
; -fexceptions
|
||||||
; -lstdc++-exc
|
; -lstdc++-exc
|
||||||
|
|
||||||
|
[core_cstage]
|
||||||
|
; *** Arduino Esp8266 -> Stage with Xtensa build chain 2.5.0.4 and Esptoolpy 2.8
|
||||||
|
platform = https://github.com/Jason2866/platform-espressif8266.git#feature/stage
|
||||||
|
build_flags = ${esp82xx_defaults.build_flags}
|
||||||
|
-Wl,-Tesp8266.flash.1m.ld
|
||||||
|
-O2
|
||||||
|
-DBEARSSL_SSL_BASIC
|
||||||
|
; NONOSDK221
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK221
|
||||||
|
; NONOSDK22x_190313
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190313
|
||||||
|
; NONOSDK22x_190703
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
|
||||||
|
; NONOSDK22x_191024
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191024
|
||||||
|
; NONOSDK22x_191105
|
||||||
|
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_191105
|
||||||
|
; NONOSDK3V0 (known issues)
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK3
|
||||||
|
; lwIP 1.4
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP_HIGHER_BANDWIDTH
|
||||||
|
; lwIP 2 - Low Memory
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY
|
||||||
|
; lwIP 2 - Higher Bandwidth
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH
|
||||||
|
; lwIP 2 - Higher Bandwidth Low Memory no Features
|
||||||
|
; -DPIO_FRAMEWORK_ARDUINO_LWIP2_LOW_MEMORY_LOW_FLASH
|
||||||
|
; lwIP 2 - Higher Bandwidth no Features
|
||||||
|
-DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH
|
||||||
|
; VTABLES in Flash (default)
|
||||||
|
-DVTABLES_IN_FLASH
|
||||||
|
; VTABLES in Heap
|
||||||
|
; -DVTABLES_IN_DRAM
|
||||||
|
; VTABLES in IRAM
|
||||||
|
; -DVTABLES_IN_IRAM
|
||||||
|
; enable one option set -> No exception recommended
|
||||||
|
; No exception code in firmware
|
||||||
|
-fno-exceptions
|
||||||
|
-lstdc++
|
||||||
|
; Exception code in firmware /needs much space! 90k
|
||||||
|
; -fexceptions
|
||||||
|
; -lstdc++-exc
|
||||||
|
|
||||||
[env:tasmota]
|
[env:tasmota]
|
||||||
platform = ${common.platform}
|
platform = ${common.platform}
|
||||||
framework = ${common.framework}
|
framework = ${common.framework}
|
||||||
|
|
Loading…
Reference in New Issue