Merge pull request #65 from Forairaaaaa/add-menuconfig-guide

添加 sdkconfig 配置指导
This commit is contained in:
Xiaoxia
2025-01-14 23:44:15 +08:00
committed by GitHub
2 changed files with 74 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
# 编译配置命令
**配置编译目标为 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_8M.csv
```
**修改 psram 配置:**
```
Component config -> ESP PSRAM -> SPI RAM config -> Mode (QUAD/OCT) -> Octal Mode PSRAM
```
**编译:**
```bash
idf.py build
```

View File

@@ -0,0 +1,31 @@
# 编译配置命令
**配置编译目标为 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
```