using ESP-IDF v5.5.2 with ESP32-C6-Touch-AMOLED-2.06

This commit is contained in:
cqc
2026-02-01 23:28:52 +01:00
parent e4ff4bbb03
commit 818f773c49
9 changed files with 135 additions and 0 deletions

14
main/CMakeLists.txt Normal file
View File

@ -0,0 +1,14 @@
set(LV_DEMO_DIR ../managed_components/lvgl__lvgl/demos)
file(GLOB_RECURSE LV_DEMOS_SOURCES ${LV_DEMO_DIR}/*.c)
idf_component_register(
SRCS main.c ${LV_DEMOS_SOURCES}
INCLUDE_DIRS . ${LV_DEMO_DIR})
idf_component_get_property(LVGL_LIB lvgl__lvgl COMPONENT_LIB)
target_compile_options(
${LVGL_LIB}
PRIVATE
-DLV_LVGL_H_INCLUDE_SIMPLE
-DLV_USE_DEMO_MUSIC
)