You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-6
Original file line number
Diff line number
Diff line change
@@ -14,16 +14,17 @@ and uploads the image to ESP32 flash memory.
14
14
## Notes for LittleFS
15
15
16
16
- Same partition scheme as SPIFFS
17
-
- Until implemented to esp-32 core needs extra library
18
-
- See [LITTLEFS esp32 library](https://github.com/lorol/LITTLEFS) for more details
19
-
- You need an additional [mklittlefs tool](https://github.com/earlephilhower/mklittlefs) . Download the [release](https://github.com/earlephilhower/mklittlefs/releases) or find it [archived at latest release here](https://github.com/lorol/arduino-esp32fs-plugin/releases)
17
+
- Until fully implemented to esp-32 core, it needs an extra library.
18
+
It is already considered for next core releases. The mklittlefs tool is provided from there.
19
+
- For reference see [LITTLEFS esp32 library](https://github.com/lorol/LITTLEFS) for more details
20
+
- If you need the [mklittlefs tool](https://github.com/earlephilhower/mklittlefs) download the [release](https://github.com/earlephilhower/mklittlefs/releases) or find it [archived at previous releases here](https://github.com/lorol/arduino-esp32fs-plugin/releases)
20
21
- Copy **mklittlefs[.exe]** to **/tools** folder of esp32 platform where **espota** and **esptool** (.py or.exe) tools are located
21
22
22
23
## Notes for FatFS
23
24
24
25
- Go to Arduino IDE menu: ***Tools > Partition Scheme*** and select an entry with FAT partition
25
-
-You need additional binary files for Windows or Linux, thanks [@lbernstone](https://github.com/lbernstone) for compiling - or take them from the author [here - mkfatfs tool](https://github.com/labplus-cn/mkfatfs/releases/tag/v1.0) , thanks to [labplus-cn](https://github.com/labplus-cn/mkfatfs) or take from [archived at latest release here](https://github.com/lorol/arduino-esp32fs-plugin/releases)
26
-
-Copy**mkfatfs[.exe]** to **/tools** folder of esp32 platform where **espota** and **esptool** (.py or.exe) tools are located
26
+
-If not provided by the core, you may need additional binary files for Windows or Linux, thanks [@lbernstone](https://github.com/lbernstone) for compiling - or take them from the author [here - mkfatfs tool](https://github.com/labplus-cn/mkfatfs/releases/tag/v1.0) , thanks to [labplus-cn](https://github.com/labplus-cn/mkfatfs) or take from [archived previous release here](https://github.com/lorol/arduino-esp32fs-plugin/releases)
27
+
-If missing, you need to copy**mkfatfs[.exe]** to **/tools** folder of esp32 platform where **espota** and **esptool** (.py or.exe) tools are located
27
28
- The usable size of FAT partition is reduced with 1 sector of 4096 bytes (0x1000) to resolve wear leveling space requirement. The image file is flashed with +4096 bytes (0x1000) offset of partition address of csv table entry
28
29
- You may need to decrease **maxOpenFiles** at FFat.begin() of your sketch , [see this note](http://marc.merlins.org/perso/arduino/post_2019-03-30_Using-FatFS-FFat-on-ESP32-Flash-With-Arduino.html)
29
30
>The FFAT module uses 8KB plus 4KB per concurrent file that can be opened. By default, it allows 10 files to be opened, which means it uses 48KB. IF you want to reduce its memory use, you can tell it to only support one file, and you will save 36KB, leaving you with only 12KB used.
@@ -39,7 +40,7 @@ if (!FFat.begin(0, "", 1)) die("Fat FS mount failed. Not enough RAM?");
39
40
- In your Arduino sketchbook directory, create tools directory if it doesn't exist yet.
40
41
- Unpack the tool into tools directory (the path will look like ```<home_dir>/Arduino/tools/ESP32FS/tool/esp32fs.jar```).
41
42
- Make sure you have **mklittlefs[.exe]** and **mkfatfs[.exe]** available at **/tools** folder or in sub-folder there
42
-
-See at [latest release](https://github.com/lorol/arduino-esp32fs-plugin/releases) for copies of archived binaries in question.
43
+
-For reference, see at [previous releases](https://github.com/lorol/arduino-esp32fs-plugin/releases) for copies of archived binaries in question.
43
44
- You can also use provided **package_esp32_index.template.json** to run **get.py** with it and download the missing binary files
44
45
- Restart Arduino IDE.
45
46
@@ -52,6 +53,7 @@ if (!FFat.begin(0, "", 1)) die("Fat FS mount failed. Not enough RAM?");
52
53
- Select ***Tools > ESP32 Sketch Data Upload*** menu item.
53
54
- On drop-down list, select SPIFFS, LittleFS or FatFS you want to make from your /data folder.
54
55
- Clicking OK should start uploading the files into ESP32 flash file system.
56
+
- Last entry **!Erase Flash!** allows to clean the entire flash if necessary.
55
57
56
58
When done, IDE status bar will display the status of Image Uploaded message. Might take a few minutes for large file system sizes.
0 commit comments