docs: add collapsed Ubuntu dependency and build notes in all READMEs

Signed-off-by: Asklv <boironic@gmail.com>
This commit is contained in:
Asklv
2026-02-19 12:49:53 +00:00
parent 9822f898e1
commit adbd771ef4
3 changed files with 93 additions and 0 deletions

View File

@@ -58,6 +58,37 @@ cd mimiclaw
# https://docs.espressif.com/projects/esp-idf/en/v5.5.2/esp32s3/get-started/
```
##### Ubuntu 备注
<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>
### 配置
MimiClaw 使用**两层配置**`mimi_secrets.h` 提供编译时默认值,串口 CLI 可在运行时覆盖。CLI 设置的值存在 NVS Flash 中,优先级高于编译时值。