2023-08-31 02:57:10 -04:00
|
|
|
set(embedded_images)
|
|
|
|
if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY)
|
|
|
|
file(GLOB_RECURSE embedded_images images/*.c)
|
|
|
|
endif()
|
2022-01-10 06:00:40 -05:00
|
|
|
|
2023-08-31 02:57:10 -04:00
|
|
|
idf_component_register(SRCS "i80_controller_example_main.c" "lvgl_demo_ui.c" ${embedded_images}
|
2022-01-10 06:00:40 -05:00
|
|
|
INCLUDE_DIRS ".")
|
2023-08-31 02:57:10 -04:00
|
|
|
|
|
|
|
if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_FILE_SYSTEM)
|
|
|
|
# Create a partition to store the image resources in the filesystem
|
|
|
|
spiffs_create_partition_image(storage ./images/filesystem FLASH_IN_PROJECT)
|
|
|
|
endif()
|