Skip to content

Commit abdebcc

Browse files
committed
Fix default and docs for SPIFFS.
1 parent 7d13ee8 commit abdebcc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -215,18 +215,18 @@ Make and flash the example.
215215

216216
**To flash already prepared image to flash** execute:
217217

218-
`make copyfs`
218+
`ESPPORT=<PORT> make copyfs`
219219

220220
---
221221

222-
You can also prepare different SFPIFFS **image** and flash it to ESP32. *This feature is only tested on Linux.*
222+
You can also prepare different SFPIFFS **image** and flash it to ESP32.
223223

224-
If you change the SPIFFS image, review the SPIFFS configuration as well. This would also need to be updated if the partition table is changed.
224+
The example partition file reserves 1MB for SPIFFS.
225+
If you change the spiffs partition size, update the SPIFFS configuration as well.
225226

226227
`idf.py menuconfig`
227228
Navigate to **Components -> TFT SPIFFS** and set **SPIFFS** options.
228229

229-
230230
Files to be included on spiffs are already in **components/spiffs_image/image/** directory. You can add or remove the files you want to include.
231231

232232
Then execute:
@@ -237,7 +237,7 @@ to create **spiffs image** in *build* directory **without flashing** to ESP32
237237

238238
Or execute:
239239

240-
`make flashfs`
240+
`ESPPORT=<PORT> make flashfs`
241241

242242
to create **spiffs image** in *build* directory and **flash** it to ESP32
243243

components/mkspiffs/src/mkspiffs

22 KB
Binary file not shown.

components/spiffs/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ menu "TFT SPIFFS"
33
config SPIFFS_BASE_ADDR
44
int "SPIFFS Base address"
55
range 1048576 33546240
6-
default 1572864
6+
default 0x180000
77
help
88
Starting address of the SPIFFS area in ESP32 Flash
99

0 commit comments

Comments
 (0)