如何修复 SPIFFS_write error(-10010): unknown
问题:
尝试构建 SPIFFS 镜像时,你看到类似这样的错误消息
spiffs_write_error_output.txt
SPIFFS_write error(-10010): unknown
error adding file!
Error for adding content from www!
/www/Inter-Light.27083fa6375bb9ef.woff2解决方案
SPIFFS_write error(-10010): unknown 表示文件名太长。SPIFFS 只支持最多 32 个字符的文件名。
在我们的示例中,Inter-Light.27083fa6375bb9ef.woff2 有 32 个字符长。
因此,解决方案是缩短每个文件名(包括扩展名)为 32+ 字符的文件的文件名。
Check out similar posts by category:
Embedded, ESP8266/ESP32, PlatformIO
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow