From ec6e704bee52a023fe2422cb45c7b4a28b30e4d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Tue, 18 Dec 2018 13:07:25 +0100 Subject: [PATCH] Rename settings in platformio.ini file --- code/platformio.ini | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/code/platformio.ini b/code/platformio.ini index cca411ec..3a7c1aad 100644 --- a/code/platformio.ini +++ b/code/platformio.ini @@ -7,19 +7,19 @@ data_dir = espurna/data # ------------------------------------------------------------------------------ # PLATFORM: # !! DO NOT confuse platformio's ESP8266 development platform with Arduino core for ESP8266 -# We use platformIO 1.5.0 as default +# We use Arduino Core 2.3.0 (platformIO 1.5.0) as default # -# platformIO 1.5.0 = arduino core 2.3.0 -# platformIO 1.6.0 = arduino core 2.4.0 -# platformIO 1.7.3 = arduino core 2.4.1 -# platformIO 1.8.0 = arduino core 2.4.2 +# arduino core 2.3.0 = platformIO 1.5.0 +# arduino core 2.4.0 = platformIO 1.6.0 +# arduino core 2.4.1 = platformIO 1.7.3 +# arduino core 2.4.2 = platformIO 1.8.0 # ------------------------------------------------------------------------------ -platform_150 = espressif8266@1.5.0 -platform_160 = espressif8266@1.6.0 -platform_173 = espressif8266@1.7.3 -platform_180 = espressif8266@1.8.0 -platform_latest = ${common.platform_180} -platform = ${common.platform_150} +arduino_core_2_3_0 = espressif8266@1.5.0 +arduino_core_2_4_0 = espressif8266@1.6.0 +arduino_core_2_4_1 = espressif8266@1.7.3 +arduino_core_2_4_2 = espressif8266@1.8.0 + +platform = ${common.arduino_core_2_3_0} # ------------------------------------------------------------------------------ # FLAGS: DEBUG @@ -33,6 +33,7 @@ debug_flags = -DDEBUG_ESP_CORE -DDEBUG_ESP_SSL -DDEBUG_ESP_WIFI -DDEBUG_ESP_HTTP # build flags for 512k/1m ESP's are different because we use Linker Scripts to adjust flash split # build_flags_512k ( 512 KB) = 487 KB sketch, 4 KB eeprom, 16 KB reserved # build_flags_1m0m (1024 KB) = 999 KB sketch, 4 KB eeprom, 16 KB reserved +# build_flags_2m1m (2048 KB) = 1019 KB sketch, 16 KB eeprom, 992 KB spiffs, 16 KB reserved # build_flags_4m1m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 992 KB spiffs, 16 KB reserved, 2048 KB empty/ota? # build_flags_4m3m (4096 KB) = 1019 KB sketch, 16 KB eeprom, 3040 KB spiffs, 16 KB reserved #