8 lines
303 B
CMake

idf_component_register(SRCS "esp_littlefs_example.c"
INCLUDE_DIRS "."
)
# Note: you must have a partition named the first argument (here it's "littlefs")
# in your partition table csv file.
littlefs_create_partition_image(storage ../flash_data FLASH_IN_PROJECT)