platform-espressif8266
platform-espressif8266 copied to clipboard
`platformio run -t nobuild -t uploadfs` fails even after `-t buildfs`
I want to run parallel uploads to multiple boards using:
platformio run -t uploadfs
but I am concerned that if my parallel processes all build at the same time they may overwrite files that other processes need and result in corrupted uploads (I haven't seen this happen yet but it is difficult to say whether it can't happen). As such I figured I could build the filesytem bin file first with
platformio run -t buildfs
And then kick off my parallel processes running
platformio run -t nobuild -t uploadfs
I do something similar for the firmware, but when I do this for the file system I always get the following error:
Processing d1_mini (platform: espressif8266; board: d1_mini; framework: arduino)
----------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 2.2.3 > WeMos D1 R2 and mini
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES:
- framework-arduinoespressif8266 2.20502.0 (2.5.2)
- tool-esptool 1.413.0 (4.13)
- tool-esptoolpy 1.20600.0 (2.6.0)
- tool-mkspiffs 1.200.0 (2.0)
LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 2 compatible libraries
Scanning dependencies...
Dependency Graph
|-- <CRC32> 2.0.0
|-- <ArduinoJson> 6.15.2
Building in release mode
Error: Could not find 'eagle.flash.4m1m.ld' LD script in LDPATH '/Users/pghalliday/projects/github/pghalliday/burp-dimmer/.pio/build/d1_mini'
=========================== [FAILED] Took 0.51 seconds ===========================
Environment Status Duration
------------- -------- ------------
d1_mini FAILED 00:00:00.510
native IGNORED
===================== 1 failed, 0 succeeded in 00:00:00.510 =====================
Is it possible to upload a prebuilt file system bin file?