Create SPIFFS image and flash it.
mkspiffs is added to create SPIFFS image from directory with files. Build process changed to flash SPIFFS image if necessary
This commit is contained in:
parent
5c12b7c7e9
commit
d25b8b2a55
7 changed files with 352 additions and 1 deletions
|
@ -7,3 +7,5 @@ SPIFFS_BASE_ADDR = 0x200000
|
|||
SPIFFS_SIZE = 0x100000
|
||||
|
||||
include ../../common.mk
|
||||
|
||||
$(eval $(call make_spiffs_image,files))
|
||||
|
|
1
examples/spiffs/files/test.txt
Normal file
1
examples/spiffs/files/test.txt
Normal file
|
@ -0,0 +1 @@
|
|||
This file will go to SPIFFS image.
|
Loading…
Add table
Add a link
Reference in a new issue