Baji_Rtc_Toy/main/dzbj/dzbj_init.h
Rdzleo 58c33e3cb4 feat: AI对话模式emoji表情系统 + 中文字体 + 分区优化
1. 新增AI对话LVGL界面(ai_chat_ui),支持emoji图片 + 状态文本 + 聊天消息
2. 新增7个emoji表情资源(64×64 PNG C数组):neutral/happy/sad/angry/crying/funny/laughing
3. 新增阿里巴巴普惠体20px 4bpp中文字体(GB2312字符集)
4. 利用火山RTC会话状态(VOLC_MSG_CONV_STATUS)驱动emoji切换:
   - LISTENING→happy, THINKING→neutral, ANSWERING→laughing
   - INTERRUPTED→funny, ANSWER_FINISH→happy
5. 设备状态emoji映射:Listening→happy, Speaking→laughing, Dialog→happy
6. 配网模式显示happy emoji
7. 分区优化:model 3MB→64KB,OTA 5MB→6.5MB
8. 编译优化:-Og→-Os,移除SimSun CJK字体

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 18:14:19 +08:00

23 lines
553 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#ifndef _DZBJ_INIT_H_
#define _DZBJ_INIT_H_
#include <driver/i2c_master.h>
#ifdef __cplusplus
extern "C" {
#endif
// dzbj 显示模块初始化入口
// i2c_bus: 主项目的 I2C 总线句柄(与音频编解码器共享)
void dzbj_display_init(i2c_master_bus_handle_t i2c_bus);
// 仅硬件+LVGL 初始化(不加载 SquareLine UI不点亮背光
// 用于 AI 模式:调用方自行加载 AI 专用屏幕后再点亮背光
void dzbj_hw_display_init(i2c_master_bus_handle_t i2c_bus);
#ifdef __cplusplus
}
#endif
#endif // _DZBJ_INIT_H_