FluxDC/main/CMakeLists.txt

14 lines
610 B
CMake
Raw Normal View History

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()
idf_component_register(SRCS "main.cpp" ${embedded_images}
2025-03-27 14:57:30 +08:00
REQUIRES FluxDisplayPort FluxUI FluxPower spiffs FluxSD FluxButton FluxWifi FluxUart 78__esp-wifi-connect nvs_flash FluxProtocol FluxTime
2025-03-17 09:50:22 +08:00
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()