2019-06-13 06:21:35 +00:00
|
|
|
set(COMPONENT_SRCS "pretty_effect.c"
|
2018-09-11 01:44:12 +00:00
|
|
|
"spi_master_example_main.c")
|
2019-06-13 06:21:35 +00:00
|
|
|
|
|
|
|
#only esp32 has enough memory to do jpeg decoding
|
|
|
|
if (CONFIG_IDF_TARGET_ESP32)
|
|
|
|
list(APPEND COMPONENT_SRCS "decode_image.c")
|
|
|
|
endif()
|
|
|
|
|
2018-09-11 01:44:12 +00:00
|
|
|
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
|
|
|
|
|
|
|
|
|
|
|
set(COMPONENT_EMBED_FILES image.jpg)
|
|
|
|
|
|
|
|
register_component()
|