Skip to content

Commit 7f4147d

Browse files
committed
Do not override the existing file system image on OTA
See: esp8266/Arduino#6505
1 parent 7524925 commit 7f4147d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

platformio.ini

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ include_dir = ./
1616
platform = espressif8266
1717
board = esp12e
1818
framework = arduino
19-
build_flags = -Wl,-Tesp8266.flash.4m1m.ld
2019
monitor_speed = 115200
2120
lib_deps = AsyncMqttClient
2221
ESP Async WebServer
2322
ArduinoJson
2423
AsyncElegantOTA
2524

25+
# See: https://github.com/esp8266/Arduino/pull/6505
26+
build_flags = -Wl,-Tesp8266.flash.4m1m.ld -DATOMIC_FS_UPDATE
27+
2628
; Basic commands:
2729
; pio run
2830
; pio run -t upload

0 commit comments

Comments
 (0)