From 88fe8f21294bb104e25d7d604a07e7cb6bd0edfc Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Thu, 14 Jan 2016 01:21:25 +0200 Subject: [PATCH] Set 1Mb SPIFFS for Espressif boards by default // Resolve #458 --- HISTORY.rst | 2 ++ platformio/__init__.py | 2 +- platformio/boards/espressif.json | 12 ++++++------ 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/HISTORY.rst b/HISTORY.rst index d8f23c80b5..638eda14cd 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -13,6 +13,8 @@ PlatformIO 2.0 and allowed to `change default upload reset method `_ for Espressif development platform (`issue #444 `_) +* Set 1Mb SPIFFS for Espressif boards by default + (`issue #458 `_) * Fixed builder for mbed framework and ST STM32 platform diff --git a/platformio/__init__.py b/platformio/__init__.py index 6889c33233..a3d0f72ddb 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -14,7 +14,7 @@ import sys -VERSION = (2, 7, "2.dev1") +VERSION = (2, 7, "2.dev2") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio" diff --git a/platformio/boards/espressif.json b/platformio/boards/espressif.json index 5bef69e77c..63a250eb2c 100644 --- a/platformio/boards/espressif.json +++ b/platformio/boards/espressif.json @@ -50,7 +50,7 @@ "core": "esp8266", "extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12", "f_cpu": "80000000L", - "ldscript": "esp8266.flash.4m.ld", + "ldscript": "esp8266.flash.4m1m.ld", "mcu": "esp8266", "variant": "nodemcu" }, @@ -73,7 +73,7 @@ "core": "esp8266", "extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12", "f_cpu": "80000000L", - "ldscript": "esp8266.flash.4m.ld", + "ldscript": "esp8266.flash.4m1m.ld", "mcu": "esp8266", "variant": "nodemcu" }, @@ -96,7 +96,7 @@ "core": "esp8266", "extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12", "f_cpu": "80000000L", - "ldscript": "esp8266.flash.4m.ld", + "ldscript": "esp8266.flash.4m1m.ld", "mcu": "esp8266", "variant": "adafruit" }, @@ -165,7 +165,7 @@ "core": "esp8266", "extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP210", "f_cpu": "80000000L", - "ldscript": "esp8266.flash.4m.ld", + "ldscript": "esp8266.flash.4m1m.ld", "mcu": "esp8266", "variant": "generic" }, @@ -188,7 +188,7 @@ "core": "esp8266", "extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12", "f_cpu": "80000000L", - "ldscript": "esp8266.flash.4m.ld", + "ldscript": "esp8266.flash.4m1m.ld", "mcu": "esp8266", "variant": "d1" }, @@ -211,7 +211,7 @@ "core": "esp8266", "extra_flags": "-DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12", "f_cpu": "80000000L", - "ldscript": "esp8266.flash.4m.ld", + "ldscript": "esp8266.flash.4m1m.ld", "mcu": "esp8266", "variant": "d1_mini" },