https://github.com/project-chip/matter-openwrt
https://github.com/project-chip/matter-openwrt
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/project-chip/matter-openwrt
- Owner: project-chip
- License: apache-2.0
- Created: 2023-07-26T00:49:24.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2025-11-14T03:33:28.000Z (7 months ago)
- Last Synced: 2025-11-14T05:33:06.879Z (7 months ago)
- Language: Makefile
- Size: 114 KB
- Stars: 50
- Watchers: 41
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Matter OpenWrt Feed
[](https://github.com/project-chip/matter-openwrt/actions/workflows/build-packages.yaml)
This repository is an [OpenWrt](https://openwrt.org) feed that packages [Matter](https://github.com/project-chip/connectedhomeip) software components for the OpenWrt operating system. It forms part of a reference implementation for Matter device types in the Routers & Access Points category.
Matter is a unified, open-source application-layer connectivity standard built to enable developers and device manufacturers to connect and build reliable, and secure ecosystems and increase compatibility among connected home devices. Visit [buildwithmatter.com](http://buildwithmatter.com) to learn more.
## Usage
This repository is intended to be included as a package feed in an OpenWrt buildroot, and familiarity with the configuration and use of the OpenWrt build system is assumed in the following instructions. Please refer to the [OpenWrt Developer Guide](https://openwrt.org/docs/guide-developer/start) for general guidance on building an OpenWrt system.
Note that this repository is aimed primarily at Matter implementers and OpenWrt integrators, and provides source packages only.
The general policy for the packages in this feed is to target the latest stable release of OpenWrt, currently this is the **24.10.x** line of releases.
### Adding the feed
Add the following line to `feeds.conf` (ensure the OpenWrt `packages` feed is also present; it's definition can be copied from `feeds.conf.default` if necessary):
```
src-git --force matter https://github.com/project-chip/matter-openwrt.git
```
Run the following commands to fetch the feed and install it into the build:
```
$ ./scripts/feeds update packages matter
$ ./scripts/feeds install -a -p matter
```
### Build configuration
For a minimal configuration, overwrite the `.config` file with the following lines and then run `make defconfig`:
```
CONFIG_PACKAGE_matter-netman-mbedtls=y
CONFIG_MBEDTLS_CCM_C=y
```
Note that this requires the mbedtls package from the OpenWrt core to be rebuilt with the MBEDTLS_CCM_C option enabled.
Alternatively, the matter-netman-openssl variant of the package can be used which depends on OpenSSL.
## License
Matter-OpenWrt is released under the [Apache 2.0 license](./LICENSE).