CMakeLists.txt 474 B

123456789101112
  1. set(embedded_images)
  2. if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY)
  3. file(GLOB_RECURSE embedded_images images/*.c)
  4. endif()
  5. idf_component_register(SRCS "i80_controller_example_main.c" "lvgl_demo_ui.c" ${embedded_images}
  6. INCLUDE_DIRS ".")
  7. if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_FILE_SYSTEM)
  8. # Create a partition to store the image resources in the filesystem
  9. spiffs_create_partition_image(storage ./images/filesystem FLASH_IN_PROJECT)
  10. endif()