2019-04-28 07:38:46 +00:00
|
|
|
idf_component_register(SRCS "spiffsgen_example_main.c"
|
|
|
|
INCLUDE_DIRS ".")
|
2019-01-31 11:54:45 +00:00
|
|
|
|
|
|
|
# Create a SPIFFS image from the contents of the 'spiffs_image' directory
|
|
|
|
# that fits the partition named 'storage'. FLASH_IN_PROJECT indicates that
|
|
|
|
# the generated image should be flashed when the entire project is flashed to
|
2019-08-02 03:31:20 +00:00
|
|
|
# the target with 'idf.py -p PORT flash'.
|
2019-01-31 11:54:45 +00:00
|
|
|
spiffs_create_partition_image(storage ../spiffs_image FLASH_IN_PROJECT)
|