firebeetle-ep32和mklittlefs参数
我正在使用 ESP32板板文件寻找SPIFFS参数代码>块大小,页面大小
, spiffs start
and spiffs end end
当我关注此 tutorial”> tutorial ,但是对于ESP32,即
mklittlefs --size <image size> --page <page size> --block <block size> -d 5 --create ./data spiffs.bin
ESP32板文件不包含该文件信息。是否可以使用Mkspiffs?还是Firebeetle-Esp32有合理的默认值?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我设法通过安装 arduino-esp32fs-plugin 来获取参数。
首先需要找到放置插件的位置。这是在Raspberry Pi 4上。
它是
/home/pi/pi/arduino
下载插件并放入:
重新启动arduino iDE,加载 littlefs_test 示例示例并将其保存到合适的位置,例如:
创建一个数据目录和文件,并在Sketch Directory中使用某些内容创建一个内容:
然后在Arduino IDE中:
选择
Littlefs
和ok
。然后,所需的数据在Arduino IDE的输出窗口中:
我在插件中添加了一些调试输出,将其编译并将其放入Arduino IDE中以提出命令行版本。请注意,
size
arduino IDE输出窗口中的参数由1024
划分,因此需要将其乘以1024
for commandline版本:安装。 Esptool:
并在插件中添加更多的调试输出为我提供了上传LittleFs Image的命令行:
I managed to get the parameters by installing the arduino-esp32fs-plugin.
First need to find where to put the plugin. This is on a Raspberry Pi 4.
which is
/home/pi/Arduino
Download the plugin and put it in:
restart the Arduino IDE, load the LITTLEFS_test example and save it to a suitable location, e.g.:
then create a data directory and file with some content in the sketch directory:
then in the Arduino IDE:
choose
LittleFS
andOK
.The required data is then in the output window of the Arduino IDE:
I added some debug output to the plugin, compiled it and put it in the Arduino IDE to come up with a commandline version. Note that the
size
parameter in the Arduino IDE output window is divided by1024
, so need to multiply it by1024
for the commandline version:installing esptool:
and adding more debug output to the plugin gave me the commandline for uploading the littlefs image: