platformio / platform-espressif8266

Espressif 8266: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/espressif8266
Apache License 2.0
332 stars 219 forks source link

SPIFFS_START passed incorrectly in uploadfs target #88

Closed jamesmyatt closed 6 years ago

jamesmyatt commented 6 years ago

I have an ESP12F board that I am programming via platformio. I can successfully upload the firmware, but I am unable to upload the FS image.

When I run pio run -t uploadfs -v, the call to esptool is:

esptool -vv -cd nodemcu -cb 921600 -cp "COM3" -ca 3145728 -cf .pioenvs\default\spiffs.bin

However, I think that the -ca argument should be in hex, so 3000000 for 4M flash with 1M SPIFFS.

I'm using the latest PlatformIO (version 3.6.0a3 + espressif8266 version 1.7.2).

jamesmyatt commented 6 years ago

Ah. Fixed in v1.7.3.