38 lines
560 B
Markdown
38 lines
560 B
Markdown
---
|
||
title: aardio
|
||
updated: 2022-01-09 03:36:38Z
|
||
created: 2022-01-08 13:18:08Z
|
||
tags:
|
||
- aardio
|
||
---
|
||
|
||
string.str(字符串)
|
||
去掉文本尾部多余所有的'\0'
|
||
参数@1也可以是raw.buffer分配的缓冲区对象
|
||
|
||
publish/subscribe 可实现HID下载进度实时更新
|
||
|
||
# 程序更新逻辑
|
||
|
||
## 初始版
|
||
|
||
BootLoader返回数据:
|
||
|
||
BootLoader区+APP区
|
||
|
||
### 进入BootLoader条件:
|
||
|
||
无APP,按键按下+上电,共享RAM区有MAGIC WORD
|
||
|
||
### 更新固件步骤:
|
||
|
||
1,上报固件版本
|
||
|
||
|
||
|
||
## 后续扩展版
|
||
|
||
BootLoader区+APP区+备份区
|
||
|
||
|
||
#aardio |