Merge pull request #65 from IRONICBo/fix/fix-ubuntu-build
This commit is contained in:
59
README_CN.md
59
README_CN.md
@@ -54,6 +54,65 @@ cd mimiclaw
|
||||
idf.py set-target esp32s3
|
||||
```
|
||||
|
||||
<details>
|
||||
<summary>Ubuntu 安装</summary>
|
||||
|
||||
建议基线:
|
||||
|
||||
- Ubuntu 22.04/24.04
|
||||
- Python >= 3.10
|
||||
- CMake >= 3.16
|
||||
- Ninja >= 1.10
|
||||
- Git >= 2.34
|
||||
- flex >= 2.6
|
||||
- bison >= 3.8
|
||||
- gperf >= 3.1
|
||||
- dfu-util >= 0.11
|
||||
- `libusb-1.0-0`、`libffi-dev`、`libssl-dev`
|
||||
|
||||
Ubuntu 安装与构建:
|
||||
|
||||
```bash
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y git wget flex bison gperf python3 python3-pip python3-venv \
|
||||
cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
|
||||
|
||||
./scripts/setup_idf_ubuntu.sh
|
||||
./scripts/build_ubuntu.sh
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>macOS 安装</summary>
|
||||
|
||||
建议基线:
|
||||
|
||||
- macOS 12/13/14
|
||||
- Xcode Command Line Tools
|
||||
- Homebrew
|
||||
- Python >= 3.10
|
||||
- CMake >= 3.16
|
||||
- Ninja >= 1.10
|
||||
- Git >= 2.34
|
||||
- flex >= 2.6
|
||||
- bison >= 3.8
|
||||
- gperf >= 3.1
|
||||
- dfu-util >= 0.11
|
||||
- `libusb`、`libffi`、`openssl`
|
||||
|
||||
macOS 安装与构建:
|
||||
|
||||
```bash
|
||||
xcode-select --install
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
./scripts/setup_idf_macos.sh
|
||||
./scripts/build_macos.sh
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
### 配置
|
||||
|
||||
MimiClaw 使用**两层配置**:`mimi_secrets.h` 提供编译时默认值,串口 CLI 可在运行时覆盖。CLI 设置的值存在 NVS Flash 中,优先级高于编译时值。
|
||||
|
||||
Reference in New Issue
Block a user