Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build SPIFFS for ESP8266 d1_pro_mini #69

Closed
VonLatvala opened this issue Jan 18, 2018 · 5 comments
Closed

Unable to build SPIFFS for ESP8266 d1_pro_mini #69

VonLatvala opened this issue Jan 18, 2018 · 5 comments

Comments

@VonLatvala
Copy link

What kind of issue is this?

Unable to build SPIFFS for ESP8266 d1_pro_mini


Configuration

Operating system: MacOS High Sierra 10.13.2 (17C88)

PlatformIO Version (platformio --version): PlatformIO, version 3.5.0

Description of problem

The process of building the SPI FFS fails. The error message is as follows:

libc++abi.dylib: terminating with uncaught exception of type std::length_error: vector
*** [.pioenvs/d1_mini_pro/spiffs.bin] Error -6

Steps to Reproduce

  1. git clone git@bitbucket.org:VonLatvala/esp8266_platformio_spiffs_problem.git
  2. pio run --target buildfs

Actual Results

libc++abi.dylib: terminating with uncaught exception of type std::length_error: vector
*** [.pioenvs/d1_mini_pro/spiffs.bin] Error -6

No FS image was built.

Expected Results

FS image built successfully.

If problems with PlatformIO Build System:

The content of platformio.ini:

;
;   Build options: build flags, source filter
;   Upload options: custom upload port, speed and extra flags
;   Library options: dependencies, extra library storages
;   Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; http://docs.platformio.org/page/projectconf.html

[env:d1_mini_pro]
platform = espressif8266
board = d1_mini_pro
framework = arduino

Source file to reproduce issue:
I have a blank main.cpp with setup&loop in the git repository. Should not matter.

Additional info

@ivankravets
Copy link
Member

Thanks! Fixed in the development branch

@VonLatvala
Copy link
Author

Wonderful, thank you! I am running the develop version of platformio (PlatformIO, version 3.5.2a1), and tried updating the platform espressif8266 to incorporate this bugfix, but it tells me that the platform is up to date:

platformio platform update espressif8266
Updating espressif8266                   @ 1.6.0          [Up-to-date]

How do I force the platform to use develop branch? I'd really like to use this feature ASAP.

@ivankravets
Copy link
Member

Take a look at the README of this repo

@VonLatvala
Copy link
Author

Thanks, that worked!

@Jaykob
Copy link

Jaykob commented Apr 9, 2024

Doesn't seem to be fixed until today. I'm getting the same error in the current stable version...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants