The shake animation figures have been fixed. However, the petting emotion working with touch remains an issue. The Lottie JSON for the emotion is unable not parsable for some reason and my next step is to fix that for tomorrow's meeting.
33 lines
832 B
CMake
33 lines
832 B
CMake
idf_component_register(
|
|
SRCS
|
|
"main.c"
|
|
"drivers/display_driver.c"
|
|
"drivers/touch_driver.c"
|
|
"drivers/nvs_driver.c"
|
|
"ui/splash_screen.c"
|
|
"ui/calibration_screen.c"
|
|
"ui/loading_anim.c"
|
|
"ui/lottie_player.c"
|
|
"ui/assets/splash_screen/logo_iro.c"
|
|
"ui/assets/fonts/Geist.c"
|
|
"sensors/shake_detector.cpp"
|
|
"sensors/glide_detector.c"
|
|
"emotion-engine/emotion_manager.c"
|
|
"emotion-engine/blink/blink_emotion.c"
|
|
"emotion-engine/shake/shake_emotion.c"
|
|
"emotion-engine/shy/shy_emotion.c"
|
|
INCLUDE_DIRS
|
|
"."
|
|
"config"
|
|
REQUIRES
|
|
SensorLib
|
|
json
|
|
nvs_flash
|
|
)
|
|
|
|
set_source_files_properties(
|
|
${LV_DEMOS_SOURCES}
|
|
PROPERTIES COMPILE_OPTIONS
|
|
-DLV_LVGL_H_INCLUDE_SIMPLE
|
|
)
|