Added CMakeLists.txt for esp-idf component

This commit is contained in:
feedc0de committed 2022-06-25 23:02:29 +02:00
1 parent 23df2a9628
commit c586a87ebe
1 file changed
+8 -3
+8 -3
View File
@@ -1,4 +1,9 @@
set(headers
TFT_eSPI.h
)
idf_component_register(SRCS "TFT_eSPI.cpp"
INCLUDE_DIRS "."
PRIV_REQUIRES arduino)
set(sources
TFT_eSPI.cpp
)
idf_component_register(INCLUDE_DIRS . SRCS ${headers} ${sources} REQUIRES arduino-esp32 freertos esp_system)