美文网首页
platformio 开发 esp32 的SPIFFS错误问题

platformio 开发 esp32 的SPIFFS错误问题

作者: 剑山 | 来源:发表于2020-03-04 21:52 被阅读0次

恩,首先是upload file system image那个上传会报错,如果框架选的是arduino就可以,但是espidf的话是不行的。
然后程序找不到spiffs,运行例程显示spiffs partition could not be found。是因为默认分区表里没有spiffs,需要手动添加,可以看这个https://docs.platformio.org/en/latest/platforms/espressif32.html


然后这里可以看到预设的各种分区表https://github.com/espressif/esp-idf/tree/master/components/partition_table
这里有分区表的介绍(英文版比中文版内容多。。。)https://docs.espressif.com/projects/esp-idf/zh_CN/latest/api-reference/storage/spi_flash.html
配置完成后在platformio里面点upload file system image 也就可以了

相关文章

网友评论

      本文标题:platformio 开发 esp32 的SPIFFS错误问题

      本文链接:https://www.haomeiwen.com/subject/mcqwlhtx.html