增加流式ogg解封装支持 (#1705)

* 增加流式ogg解封装支持

* 增加TF卡引脚连接说明

* 修复圆角图标屏幕导致的显示问题

* 优化聊天消息显示

* 修改解封装实现

---------

Co-authored-by: smalllin0 <aslinqf@163.com>
This commit is contained in:
小林同志
2026-02-05 00:12:40 +08:00
committed by GitHub
parent 6f71868bad
commit 49cd6625f4
7 changed files with 416 additions and 92 deletions

View File

@ -21,4 +21,19 @@
2. 关闭设备电源后,长按电源键不松手;
3. 在烧录工具中选择对应的串口COM Port
4. 点击烧录按钮,选择 UART 模式;
5. 烧录完成前请勿松开电源键。
5. 烧录完成前请勿松开电源键。
## 引脚
- 1-9
- 1. DAT2 NC
- 2. CD/DAT3 片选,低电平有效。(未知)
- 3. CMD IO48Command/Response Line主机通过此线向TF卡发送命令和数据
- 4. VDD 供电
- 5. CLX IO47时钟由主机产生同步数据通信
- 6. VSS GND
- 7. DAT0 IO21SPI_MISOTF卡通过此线向主机返回响应和数据
- 8. DAT1 NC
依次为从右向左为1-9

View File

@ -41,8 +41,15 @@ public:
{
DisplayLockGuard lock(this);
lv_obj_set_style_pad_left(status_bar_, LV_HOR_RES * 0.167, 0);
lv_obj_set_style_pad_right(status_bar_, LV_HOR_RES * 0.167, 0);
// 状态栏容器适配
lv_obj_set_style_pad_left(top_bar_, LV_HOR_RES * 0.12, 0); // 左侧填充12%
lv_obj_set_style_pad_right(top_bar_, LV_HOR_RES * 0.12, 0); // 右侧填充12%
// 表情容器上移适配
lv_obj_align(emoji_box_, LV_ALIGN_CENTER, 0, -50); // 向上偏移50
// 消息栏适配
lv_obj_align(bottom_bar_, LV_ALIGN_BOTTOM_MID, 0, -40); // 向上偏移40
}
};