2025-03-03 20:29:13 +08:00
|
|
|
set(embedded_images)
|
|
|
|
|
if(CONFIG_EXAMPLE_LCD_IMAGE_FROM_EMBEDDED_BINARY)
|
|
|
|
|
file(GLOB_RECURSE embedded_images images/*.c)
|
|
|
|
|
endif()
|
|
|
|
|
|
2025-03-04 15:21:41 +08:00
|
|
|
idf_component_register(SRCS "FreeBus.c" "i80_controller_example_main.c" "lvgl_demo_ui.c" ${embedded_images}
|
2025-03-03 22:30:53 +08:00
|
|
|
REQUIRES FluxUI FluxPower spiffs
|
|
|
|
|
INCLUDE_DIRS ".")
|
2025-03-03 20:29:13 +08: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()
|