mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ac069bfca1
Move the lcd example files out of the folder spi_master, and refactor the codes with esp_lcd driver. Add image rotation function to the example.
13 lines
312 B
CMake
13 lines
312 B
CMake
set(srcs "pretty_effect.c"
|
|
"lcd_tjpgd_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)
|