Skip to content

Commit

Permalink
update asr factory: not use spake2p and chip-tool
Browse files Browse the repository at this point in the history
  • Loading branch information
asriot committed Sep 18, 2023
1 parent d3b7615 commit 20cb378
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 29 deletions.
Binary file modified factory_tool/ASR_matter_factory_tool
Binary file not shown.
29 changes: 1 addition & 28 deletions factory_tool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,7 @@ This tool is designed to generate factory partitions for mass production.

## Dependencies

Please make sure you have had the following tools before using the generator
tool.

* [CHIP Tool](https://github.com/project-chip/connectedhomeip/blob/master/examples/chip-tool)

* [SPAKE2P Parameters Tool](https://github.com/project-chip/connectedhomeip/tree/master/scripts/tools/spake2p)

### [Build and setup tools in Matter SDK](https://github.com/project-chip/connectedhomeip/blob/master/docs/guides/BUILDING.md#build-for-the-host-os-linux-or-macos)

#### Build tools

Using the following commands to generate chip-tool, spake2p and chip-cert at
`path/to/connectedhomeip/build/out/host`.

```
cd path/to/connectedhomeip
source scripts/activate.sh
gn gen build/out/host
ninja -C build/out/host
```

#### Add the tools path to $PATH

```
export PATH="$PATH:path/to/connectedhomeip/build/out/host"
```

### Install python dependencies
Install python dependencies
```
cd path/to/Tools/factory_tool
python3 -m pip install -r requirements.txt
Expand Down
4 changes: 3 additions & 1 deletion factory_tool/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ cffi==1.15.0
future==0.18.2
pycparser==2.21
pypng==0.0.21
PyQRCode==1.2.1
python_stdnum==1.18
ecdsa>=0.18.0
qrcode==7.4.2

0 comments on commit 20cb378

Please sign in to comment.