2019-08-08 03:44:24 +00:00
|
|
|
set(srcs "pretty_effect.c"
|
|
|
|
"spi_master_example_main.c"
|
|
|
|
)
|
2019-06-13 06:21:35 +00:00
|
|
|
|
2019-08-08 03:44:24 +00:00
|
|
|
# Only ESP32 has enough memory to do jpeg decoding
|
2019-06-13 06:21:35 +00:00
|
|
|
if (CONFIG_IDF_TARGET_ESP32)
|
2019-08-08 03:44:24 +00:00
|
|
|
list(APPEND srcs "decode_image.c")
|
2019-06-13 06:21:35 +00:00
|
|
|
endif()
|
|
|
|
|
2019-08-08 03:44:24 +00:00
|
|
|
idf_component_register(SRCS ${srcs}
|
2019-04-28 07:38:46 +00:00
|
|
|
INCLUDE_DIRS "."
|
2019-08-08 03:44:24 +00:00
|
|
|
EMBED_FILES image.jpg)
|
2018-09-11 01:44:12 +00:00
|
|
|
|