forked from xiaozhi/xiaozhi-esp32
* Update README.md * Update config.h 增加MCP控制方式 * Update esp32_cgc_board.cc 增加MCP控制方式 * Update CMakeLists.txt 增加ESP32 CGC 144开发板 * Update Kconfig.projbuild 增加ESP32 CGC 144开发板 * Create README.md 增加ESP32 CGC 144开发板 * Add files via upload * Update config.h 修改注释
43 lines
857 B
Markdown
43 lines
857 B
Markdown
# 相关资料:
|
||
- [插线款](https://www.wdmomo.fun:81/doc/index.html?file=001_%E8%AE%BE%E8%AE%A1%E9%A1%B9%E7%9B%AE/0001_%E5%B0%8F%E6%99%BAAI/003_ESP32-CGC-144%E6%8F%92%E7%BA%BF%E7%89%88%E5%B0%8F%E6%99%BAAI)
|
||
|
||
- [电池款](https://www.wdmomo.fun:81/doc/index.html?file=001_%E8%AE%BE%E8%AE%A1%E9%A1%B9%E7%9B%AE/0001_%E5%B0%8F%E6%99%BAAI/004_ESP32-CGC-144%E7%94%B5%E6%B1%A0%E7%89%88%E5%B0%8F%E6%99%BAAI)
|
||
|
||
# 编译配置命令
|
||
|
||
**配置编译目标为 ESP32:**
|
||
|
||
```bash
|
||
idf.py set-target esp32
|
||
```
|
||
|
||
**打开 menuconfig:**
|
||
|
||
```bash
|
||
idf.py menuconfig
|
||
```
|
||
|
||
**选择板子:**
|
||
|
||
```
|
||
Xiaozhi Assistant -> Board Type -> ESP32 CGC 144
|
||
```
|
||
|
||
**修改 flash 大小:**
|
||
|
||
```
|
||
Serial flasher config -> Flash size -> 4 MB
|
||
```
|
||
|
||
**修改分区表:**
|
||
|
||
```
|
||
Partition Table -> Custom partition CSV file -> partitions_4M.csv
|
||
```
|
||
|
||
**编译:**
|
||
|
||
```bash
|
||
idf.py build
|
||
```
|