CMakeLists.txt 573 B

1234567891011121314151617
  1. idf_component_register(SRCS "SPIFFS.c"
  2. INCLUDE_DIRS "include"
  3. #"../../main/"
  4. REQUIRES "spiffs" "c_linked_list")
  5. # # 添加生成的文件系统
  6. # spiffs_create_partition_image(partitions.csv spiffs FLASH_IN_PROJECT)
  7. #set(EXTRA_COMPONENT_DIRS /path/to/your/project/components) # 设置 components 文件夹路径
  8. #set(EXTRA_COMPONENT_DIRS "../components/USER_SPIFFS")
  9. # 添加生成的文件系统
  10. spiffs_create_partition_image(storage spiffs FLASH_IN_PROJECT)