https://github.com/tanishqmanuja/esp-matter.scripts
📄 Useful matter scripts.
https://github.com/tanishqmanuja/esp-matter.scripts
bash esp-idf esp-matter scripts
Last synced: about 1 month ago
JSON representation
📄 Useful matter scripts.
- Host: GitHub
- URL: https://github.com/tanishqmanuja/esp-matter.scripts
- Owner: tanishqmanuja
- Created: 2025-04-28T08:14:15.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2025-04-28T08:33:00.000Z (about 1 month ago)
- Last Synced: 2025-04-28T09:51:22.312Z (about 1 month ago)
- Topics: bash, esp-idf, esp-matter, scripts
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Matter Scripts
Helper scripts to simplify setting up the ESP-IDF and ESP-Matter development environments.
## Scripts
### `env.sh`
Sets up your environment for working with ESP-IDF and ESP-Matter:
- Sources `esp-idf` and `esp-matter` environment scripts.
- Enables `ccache` to speed up compilation.
- Sets the Matter SDK path (`$MATTER_SDK_PATH`) and adds Matter host tools to your `PATH`.
- Provides helpful shortcuts for common IDF commands:
- `itarget` — Set target
- `ibuild` — Build project
- `iflash` — Flash firmware
- `ierase` — Erase flash
- `imenu` — Open menuconfig
- `imonitor` — Monitor serial output
- Provides a helper function `iflashmfg` to easily flash manufacturing binaries.**Usage:**
```bash
source env.sh
```### `install.sh`
Fully automated setup of the ESP-IDF and ESP-Matter SDKs.
| Option | Description |
|------------------------------|--------------------------------------------------------|
| `--packages` | Install required system packages |
| `--idf-version ` | Specify ESP-IDF version (default: `v5.4.1`) |
| `--matter-branch ` | Specify ESP-Matter branch (default: `main`) |
| `--clean-idf` | Remove existing `~/esp-idf` before setup |
| `--clean-matter` | Remove existing `~/esp-matter` before setup |
| `--clean` | Shortcut for `--clean-idf` and `--clean-matter` |
| `--help, -h` | Show usage instructions |Examples:
Basic (installs esp-idf and esp-matter)
```bash
./install.sh
```Use a different ESP-IDF version:
```bash
./install.sh --idf-version v5.3
```