# 编译配置命令
**配置编译目标为 ESP32:**
```bash
idf.py set-target esp32
```
**打开 menuconfig:**
idf.py menuconfig
**选择板子:**
Xiaozhi Assistant -> Board Type -> AtomMatrix + Echo Base
**编译:**
idf.py build