-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* new: chef app is a configurable application that processes zap files during the build process Change-Id: Ia6aeba2d5587e09074defcd34dc5028288d74a90 * fix: esp32 functional on master on 28/mar/2021 Change-Id: I33f572f313dc7be91e208b074fe6ba6c7ab9da31 * chg: removed old zap files that need to be updated Change-Id: Ibbe26ad39ba69d251fd4ef956632eb1aac9dfdf8 * Restyled by whitespace * Restyled by clang-format * Restyled by gn * Restyled by prettier-markdown * Restyled by autopep8 * fix: init server on scheduled task Change-Id: If7c287ea7e9632fb8b4a49e8e4c82af4002cf4e4 * fix: excluded unsued context from task call Change-Id: I8a353828804b2a203d336e47edbe58ce7d62163a * chg: fixes to paths in README file Change-Id: I252594388ec759c84525ea9090c153bdd7f80d3f * fix: update to zap regen script to ignore chef sample app Change-Id: Ia17baae1a7cca206fd1854928f1b56ca05c0b9e7 * Update wordlist: add new work (flags gzbf) and sort|unique the word list Co-authored-by: Restyled.io <[email protected]> Co-authored-by: Andrei Litvin <[email protected]>
- Loading branch information
1 parent
5601756
commit 172c024
Showing
38 changed files
with
8,844 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
zap-generated | ||
project_include.cmake | ||
linux/args.gni | ||
linux/sample.gni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# MATTER CHEF APP | ||
|
||
The purpose of the chef app is to to increase the coverage of device types in | ||
Matter. | ||
|
||
It uses the shell app a starting point, adding the processing of ZAP files and | ||
the support of a few targets under a unified build script: `chef.py`. | ||
|
||
As it incorporates the processing of ZAP files as part of the build process, it | ||
does not use `zzz_generated`, but rather places the auto-generated zap artifacts | ||
under its `zap-generated` temporary folder. | ||
|
||
All device types available (DM/IM .zap files) are found inside the `devices` | ||
folder. | ||
|
||
## Building a Sample Application | ||
|
||
Run `chef.py -h` to see the available commands | ||
|
||
## Building your first sample | ||
|
||
1. Make sure you have the toolchain installed for your desired target | ||
2. Update your SoC SDK paths on `chef_config.py` and flip the `configured` | ||
variable to True | ||
3. Run `$ chef.py -u` to update zap and the toolchain (on selected platforms) | ||
4. Run `$ chef.py -gzbf -t <platform> -d lighting`. This command will run the | ||
ZAP GUI opening the `devices/lighting.zap` file and will allow editing. It | ||
will then generate the zap artifacts, place them on the `zap-generated` | ||
folder, run a build and flash the binary in your target | ||
|
||
## Creating a new device type in your device library | ||
|
||
1. Run `$ chef.py -g -d <device>` to open in the ZAP GUI a device to be used as | ||
a starting point. | ||
2. Edit your cluster configurations | ||
3. Click on `Save As` and save the file with the name of your new device type | ||
into the `devices` folder. This device is now available for the script. See | ||
`chef.py -h` for a list of devices available. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../shell/README_DEVICE.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../shell/README_OTCLI.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../shell/README.md |
Oops, something went wrong.