Dzbj_ESP32-S3/main/CMakeLists.txt
Rdzleo 6711a24a68 feat: 新增ScreenChar角色动画界面 + 启用GIF解码器
- 新增ui_ScreenChar:LVGL基元绘制动漫角色(金黄头发/脸/眼/嘴/身体/胳膊)
- 序列帧动画:BOOT按键触发眨眼+说话动画,再按停止
- ScreenImg上滑导航至ScreenChar(保留原Home路径可切换)
- BOOT按键逻辑:ScreenChar界面切换动画,其他界面返回Home
- 启用CONFIG_LV_USE_GIF=y支持GIF动图显示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-24 18:05:54 +08:00

45 lines
1.4 KiB
CMake

idf_component_register(
SRCS
"main.c"
"./gpio/gpio.c"
"./wifi/wifi.c"
"./lcd/lcd.c"
"./fatfs/fatfs.c"
"./pages/pages.c"
"./ble/ble.c"
"./battery/battery.c"
"./button/button.c"
"./sleep_mgr/sleep_mgr.c"
"./ui/ui.c"
"./ui/components/ui_comp_hook.c"
"./ui/screens/ui_ScreenHome.c"
"./ui/screens/ui_ScreenSet.c"
"./ui/screens/ui_ScreenImg.c"
"./ui/screens/ui_ScreenChar.c"
"./ui/ui_helpers.c"
"./ui/images/ui_img_s1_png.c"
"./ui/images/ui_img_s6_png.c"
"./ui/images/ui_img_s8_png.c"
"./ui/images/ui_img_s9_png.c"
"./ui/images/ui_img_s10_png.c"
"./ui/images/ui_img_s11_png.c"
"./ui/images/ui_img_s12_png.c"
"./ui/images/ui_img_s13_png.c"
"./ui/images/ui_img_s14_png.c"
# "./axis/axis.c"
INCLUDE_DIRS
"."
"./gpio/include/"
"./wifi/include/"
"./lcd/include/"
"./fatfs/include/"
"./pages/include/"
"./ble/include/"
"./battery/include/"
"./button/include/"
"./sleep_mgr/include/"
"./ui/"
"./ui/screens/"
# "./axis/include/"
)