diff --git a/factory_tool/ASR_matter_factory_tool b/factory_tool/ASR_matter_factory_tool index ce1d0ad..346bc8b 100755 Binary files a/factory_tool/ASR_matter_factory_tool and b/factory_tool/ASR_matter_factory_tool differ diff --git a/factory_tool/README.md b/factory_tool/README.md index 854b581..7afa7c8 100755 --- a/factory_tool/README.md +++ b/factory_tool/README.md @@ -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 diff --git a/factory_tool/requirements.txt b/factory_tool/requirements.txt index fa84eca..c931da6 100755 --- a/factory_tool/requirements.txt +++ b/factory_tool/requirements.txt @@ -4,4 +4,6 @@ cffi==1.15.0 future==0.18.2 pycparser==2.21 pypng==0.0.21 -PyQRCode==1.2.1 \ No newline at end of file +python_stdnum==1.18 +ecdsa>=0.18.0 +qrcode==7.4.2 \ No newline at end of file