2019-01-31 06:54:45 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# This is a project Makefile. It is assumed the directory this Makefile resides in is a
|
|
|
|
# project subdirectory.
|
|
|
|
#
|
|
|
|
|
|
|
|
PROJECT_NAME := spiffsgen
|
|
|
|
|
|
|
|
include $(IDF_PATH)/make/project.mk
|
|
|
|
|
|
|
|
# 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
|
2020-11-10 02:40:01 -05:00
|
|
|
# the target with 'make flash'.
|
2019-06-20 22:58:00 -04:00
|
|
|
SPIFFS_IMAGE_FLASH_IN_PROJECT := 1
|
2020-11-10 02:40:01 -05:00
|
|
|
$(eval $(call spiffs_create_partition_image,storage,spiffs_image))
|