Add esp_lcd dependency to build system

This commit is contained in:
loganfin 2024-03-05 20:32:57 -08:00
parent c340c9acee
commit 2f55adbb26

View file

@ -13,6 +13,11 @@ endif()
if(${target} STREQUAL "esp32s3") if(${target} STREQUAL "esp32s3")
list(APPEND extra_srcs src/platforms/${target}/gdma_lcd_parallel16.cpp) list(APPEND extra_srcs src/platforms/${target}/gdma_lcd_parallel16.cpp)
# Required by gdma_lcd_parallel16.cpp
if (NOT esp_lcd IN_LIST build_dependencies)
list(APPEND build_dependencies esp_lcd)
endif()
endif() endif()
idf_component_register(SRCS "src/platforms/esp32/esp32_i2s_parallel_dma.cpp" "src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "src/ESP32-HUB75-MatrixPanel-leddrivers.cpp" ${extra_srcs} idf_component_register(SRCS "src/platforms/esp32/esp32_i2s_parallel_dma.cpp" "src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "src/ESP32-HUB75-MatrixPanel-leddrivers.cpp" ${extra_srcs}