me-no-dev / arduino-esp32fs-plugin

Arduino plugin for uploading files to ESP32 file system
GNU General Public License v2.0
544 stars 144 forks source link

Error for adding contents from images/fonts #10

Closed EternalElectron closed 5 years ago

EternalElectron commented 5 years ago

When trying to upload image or font files (in my case PNG, SVG and WOFF files), the upload log says:

SPIFFS_write error(-10010): unknown error adding file! Error for adding content from images!

Or fonts respectively instead of images. Those files then don't show up on the board. All other files work just fine. I am using the original ESP32 Dev Module.

EternalElectron commented 5 years ago

Found the issue. The path of the files was too long. Apparently SPIFFS paths are limited to 28 characters.