From d407fc63fd0149d1d41f2c42865d3bf38129cda4 Mon Sep 17 00:00:00 2001 From: Jason2866 Date: Sun, 10 Nov 2019 17:42:21 +0100 Subject: [PATCH] Support for core 2.6.0.... not for all platforms, since core 2.6.0 is not official released from PlatformIO crew. Support for Windows and most Linux variants and gitpod. Mac is NOT supported. Core is selected as default --- platformio.ini | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 711dba987..29133de69 100755 --- a/platformio.ini +++ b/platformio.ini @@ -102,8 +102,10 @@ extra_scripts = pio/strip-floats.py ;build_flags = ${core_2_3_0.build_flags} ;platform = ${core_2_4_2.platform} ;build_flags = ${core_2_4_2.build_flags} -platform = ${core_pre.platform} -build_flags = ${core_pre.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} @@ -138,6 +140,50 @@ build_flags = ${esp82xx_defaults.build_flags} -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH -DVTABLES_IN_FLASH +[core_2_6_0] +; *** Esp8266 core for Arduino version 2.6.0 (only for Windows and most Linux variants, sorry no Mac) +; *** 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_0 +build_flags = ${esp82xx_defaults.build_flags} + -Wl,-Teagle.flash.1m.ld + -O2 + -DBEARSSL_SSL_BASIC +; NONOSDK221 +; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK221 +; NONOSDK22x_190313 +; -DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190313 +; NONOSDK22x_190703 (Tasmota default) +; -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 (Tasmota default) + -DPIO_FRAMEWORK_ARDUINO_LWIP2_HIGHER_BANDWIDTH_LOW_FLASH +; VTABLES in Flash (Tasmota 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 + [core_pre] ; *** Arduino Esp8266 core pre 2.6.x for Tasmota (recommended version, no known issues) platform = https://github.com/Jason2866/platform-espressif8266.git#Tasmota