mirror of
https://github.com/78/xiaozhi-esp32.git
synced 2026-02-27 14:26:36 +00:00
* chore: Update component versions and enhance UI setup across multiple boards - Bumped uart-eth-modem version from ~0.3.2 to ~0.3.3 in idf_component.yml. - Added SetupUI method to various display classes to ensure proper UI initialization before usage. - Improved error handling in display classes to prevent issues when UI is not set up. - Ensured UI customization is performed in SetupUI rather than constructors for better reliability. * remove pm config code
编译配置命令
配置编译目标为 ESP32S3:
idf.py set-target esp32s3
打开 menuconfig:
idf.py menuconfig
选择板子:
Xiaozhi Assistant -> Board Type -> AtomS3R + Echo Base
修改 flash 大小:
Serial flasher config -> Flash size -> 8 MB
修改分区表:
Partition Table -> Custom partition CSV file -> partitions/v2/8m.csv
修改 psram 配置:
Component config -> ESP PSRAM -> SPI RAM config -> Mode (QUAD/OCT) -> Octal Mode PSRAM
编译:
idf.py build