Skip to content
项目

earlephilhower/arduino-littlefs-upload

在 GitHub 查看

关于

在 Arduino IDE 2.2.1 或更高版本中,为 Arduino-Pico RP2040、RP2350、ESP8266 和 ESP32 核心构建并上传 LittleFS 文件系统

其他项目

这些数字如何统计

实测星标增长

24小时
+1
7天
+3
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

arduino-littlefs-upload README

(C) 2023 Earle F. Philhower, III

MIT licensed, see LICENSE.md

LittleFS uploader and builder compatible with Arduino IDE 2.2.1 or higher. For use with the Raspberry Pi Pico RP2040 Arduino core arduino-pico, the community ESP8266 Arduino core and the community ESP32 Arduino core.

Usage, uploading a filesystem to the device

[Ctrl] + [Shift] + [P], then "Upload LittleFS to Pico/ESP8266/ESP32".

On macOS, press [⌘] + [Shift] + [P] to open the Command Palette in the Arduino IDE, then "Upload LittleFS to Pico/ESP8266/ESP32".

Usage, building (but not uploading) a filesystem to the device

For most users this is not ever needed, but it can be useful if you are distributing filesystem updates to many devices without needing the IDE. The created filesystem image will be stored in the sketch directory as mklittlefs.bin, shown in the command output.

[Ctrl] + [Shift] + [P], then "Build LittleFS image in sketch directory"

On macOS, press [⌘] + [Shift] + [P] to open the Command Palette in the Arduino IDE, then "Build LittleFS image in sketch directory"

Glitches

The first sketch auto-opened by the IDE presently may have corrupted state which causes uploads to fail. To work around this, you can change the board once (to anything) and then change it back to your proper board. You can also open another sketch, close the auto-opened one, then re-open it.

A fix is already in the Arduino repository for this issue.

Could not open

If you get:

A fatal error occurred: Could not open <serial port>, the port doesn't exist
ERROR:  Upload failed, error code: 2

Make sure that you close any open Serial Monitor windows.

Installation

Copy the VSIX file to ~/.arduinoIDE/plugins/ on Mac and Linux or C:\Users\<username>\.arduinoIDE\plugins\ on Windows (you may need to make this directory yourself beforehand). Restart the IDE.

Arduino Nano ESP32 Notes

This board uses DFU mode by default and requires several steps to make it compatible with this plug in. See the Arduino Forum post for the necessary steps: https://forum.arduino.cc/t/best-method-for-utilizing-on-board-flash/1222469/15

探索相关项目

加载中…