# 编译配置命令 **配置编译目标为 ESP32S3:** ```bash idf.py set-target esp32s3 ``` **打开 menuconfig:** ```bash idf.py menuconfig ``` **选择板子:** ``` Xiaozhi Assistant -> Board Type -> M5Stack CoreS3 ``` **修改 psram 配置:** ``` Component config -> ESP PSRAM -> SPI RAM config -> Mode (QUAD/OCT) -> Quad Mode PSRAM ``` **编译:** ```bash idf.py build ```