Refactor project structure and update display logic

Reorganized source files into new directories for config, drivers, sensors, emotion engine, and UI. Removed legacy assets and code related to previous eye animation implementation. Added new display and touch drivers, emotion manager, shake detector, and UI components. Updated CMake project name to 'irobot_display'.
This commit is contained in:
2026-01-24 15:21:50 +05:30
parent 2c731c72e3
commit 8aeaed8a15
69 changed files with 2650 additions and 10338 deletions

View File

@@ -1,9 +1,24 @@
idf_component_register(
SRCS "blink_animation.c" "lottie_player.c" "example_qspi_with_ram.c" "splash_screen.c" "animated_eyes.c" "animated_eyes_demo.c" "shake_detector.cpp"
INCLUDE_DIRS "."
REQUIRES SensorLib json)
SRCS
"main.c"
"drivers/display_driver.c"
"drivers/touch_driver.c"
"ui/splash_screen.c"
"ui/assets/splash_screen/logo_iro.c"
"ui/lottie_player.c"
"sensors/shake_detector.cpp"
"emotion-engine/emotion_manager.c"
"emotion-engine/blink/blink_emotion.c"
INCLUDE_DIRS
"."
"config"
REQUIRES
SensorLib
json
)
set_source_files_properties(
${LV_DEMOS_SOURCES}
PROPERTIES COMPILE_OPTIONS
-DLV_LVGL_H_INCLUDE_SIMPLE)
-DLV_LVGL_H_INCLUDE_SIMPLE
)