esp-idf/examples/peripherals/spi_master/main/CMakeLists.txt

15 lines
319 B
CMake
Raw Normal View History

set(COMPONENT_SRCS "pretty_effect.c"
2018-09-10 21:44:12 -04:00
"spi_master_example_main.c")
#only esp32 has enough memory to do jpeg decoding
if (CONFIG_IDF_TARGET_ESP32)
list(APPEND COMPONENT_SRCS "decode_image.c")
endif()
2018-09-10 21:44:12 -04:00
set(COMPONENT_ADD_INCLUDEDIRS ".")
set(COMPONENT_EMBED_FILES image.jpg)
register_component()