forked from xiaozhi/xiaozhi-esp32
* Adapt boards to v2 partition tables * fix esp log error * fix display style * reset emotion after download assets * fix compiling * update assets default url * Add user only tools * Add image cache * smaller cache and buffer, more heap * use MAIN_EVENT_CLOCK_TICK to avoid audio glitches * bump to 2.0.0 * fix compiling errors --------- Co-authored-by: Xiaoxia <terrence.huang@tenclass.com>
43 lines
629 B
Markdown
43 lines
629 B
Markdown
# 编译配置命令
|
||
|
||
**配置编译目标为 ESP32S3:**
|
||
|
||
```bash
|
||
idf.py set-target esp32s3
|
||
```
|
||
|
||
**打开 menuconfig:**
|
||
|
||
```bash
|
||
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
|
||
```
|
||
|
||
**编译:**
|
||
|
||
```bash
|
||
idf.py build
|
||
``` |