Makefile 543 B

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