ESP32-xiaozhi-esp32/main/boards/sensecap-watcher
2025-03-26 22:15:12 +08:00
..
config.h Support adjust volume with knob in SenseCAP Watcher (#399) 2025-03-25 02:37:43 +08:00
config.json Fix sensecap-watcher board bug (#322) 2025-03-11 01:38:42 +08:00
README.md Add SenseCAP Watcher (#241) 2025-03-04 20:38:53 +08:00
sensecap_audio_codec.cc Add SenseCAP Watcher (#241) 2025-03-04 20:38:53 +08:00
sensecap_audio_codec.h Add SenseCAP Watcher (#241) 2025-03-04 20:38:53 +08:00
sensecap_watcher.cc typo: 删除sense-watcher显示修复的重复以及改掉错误的注释描述 (#417) 2025-03-26 22:15:12 +08:00

编译配置命令

配置编译目标为 ESP32S3

idf.py set-target esp32s3

打开 menuconfig

idf.py menuconfig

选择板子:

Xiaozhi Assistant -> Board Type -> SenseCAP Watcher

编译烧入:

idf.py build flash

注意: 请特别小心处理闪存固件分区地址,以避免错误擦除 SenseCAP Watcher 的自身设备信息EUI 等),否则设备可能无法正确连接到 SenseCraft 服务器!在刷写固件之前,请务必记录设备的相关必要信息,以确保有恢复的方法!

您可以使用以下命令备份生产信息

# 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