1 2# 3# This is a project Makefile. It is assumed the directory this Makefile resides in is a 4# project subdirectory. 5# 6 7PROJECT_NAME := spiffsgen 8 9include $(IDF_PATH)/make/project.mk 10 11# Create a SPIFFS image from the contents of the 'spiffs_image' directory 12# that fits the partition named 'storage'. FLASH_IN_PROJECT indicates that 13# the generated image should be flashed when the entire project is flashed to 14# the target with 'make flash'. 15SPIFFS_IMAGE_FLASH_IN_PROJECT := 1 16$(eval $(call spiffs_create_partition_image,storage,spiffs_image)) 17