docs: update build/flash instructions with fullclean and port detection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
crispyberry
2026-02-07 23:09:40 +08:00
parent 82f93b617b
commit 39794e7f28
2 changed files with 20 additions and 8 deletions

View File

@@ -87,11 +87,17 @@ cp main/mimi_secrets.h.example main/mimi_secrets.h
然后编译烧录:
```bash
idf.py build
idf.py -p /dev/ttyACM0 flash monitor
```
# 完整编译(修改 mimi_secrets.h 后必须 fullclean
idf.py fullclean && idf.py build
> **重要**:修改 `mimi_secrets.h` 后必须完整重编译:`idf.py fullclean && idf.py build`
# 查找串口
ls /dev/cu.usb* # macOS
ls /dev/ttyACM* # Linux
# 烧录并监控(将 PORT 替换为你的串口)
# USB 转接器:大概率是 /dev/cu.usbmodem11401macOS或 /dev/ttyACM0Linux
idf.py -p PORT flash monitor
```
### 代理配置(国内用户)