mirror of
https://github.com/espressif/esp-idf
synced 2025-04-06 23:00:12 -04:00
14 lines
314 B
CMake
14 lines
314 B
CMake
set(srcs "pretty_effect.c"
|
|
"spi_master_example_main.c"
|
|
)
|
|
|
|
# Only ESP32 has enough memory to do jpeg decoding
|
|
if(IDF_TARGET STREQUAL "esp32")
|
|
list(APPEND srcs "decode_image.c")
|
|
endif()
|
|
|
|
idf_component_register(SRCS ${srcs}
|
|
INCLUDE_DIRS "."
|
|
EMBED_FILES image.jpg)
|
|
|