forked from xiaozhi/xiaozhi-esp32
Add SenseCAP Watcher (#241)
* feat: add sensecap watcher board. * feat(sensecap): Add button function. * fix: fix compilation error. * style:Modify code style. * fix: fix wake bug * fix: fix compilation error & Enable click to toggle state. * style: move sensecap_audio_codec files to sensecap board * fix: Optimize shutdown.
This commit is contained in:
34
main/boards/sensecap-watcher/README.md
Normal file
34
main/boards/sensecap-watcher/README.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# 编译配置命令
|
||||
|
||||
**配置编译目标为 ESP32S3:**
|
||||
|
||||
```bash
|
||||
idf.py set-target esp32s3
|
||||
```
|
||||
|
||||
**打开 menuconfig:**
|
||||
|
||||
```bash
|
||||
idf.py menuconfig
|
||||
```
|
||||
|
||||
**选择板子:**
|
||||
|
||||
```
|
||||
Xiaozhi Assistant -> Board Type -> SenseCAP Watcher
|
||||
```
|
||||
|
||||
**编译烧入:**
|
||||
|
||||
```bash
|
||||
idf.py build flash
|
||||
```
|
||||
注意: 请特别小心处理闪存固件分区地址,以避免错误擦除 SenseCAP Watcher 的自身设备信息(EUI 等),否则设备可能无法正确连接到 SenseCraft 服务器!在刷写固件之前,请务必记录设备的相关必要信息,以确保有恢复的方法!
|
||||
|
||||
您可以使用以下命令备份生产信息
|
||||
|
||||
```bash
|
||||
# firstly backup the factory information partition which contains the credentials for connecting the SenseCraft server
|
||||
esptool.py --chip esp32s3 --baud 2000000 --before default_reset --after hard_reset --no-stub read_flash 0x9000 204800 nvsfactory.bin
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user