From 16f9244fef246abd322c473041ac30f4e8a7d4da Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Thu, 18 Aug 2022 11:45:14 -0500 Subject: [PATCH 01/40] add TI CC32xx CI --- .github/workflows/examples-cc32xx.yaml | 88 +++++++++++++++++++ README.md | 1 + scripts/build/build/targets.py | 6 ++ scripts/build/builders/cc32xx.py | 73 +++++++++++++++ .../testdata/all_targets_except_host.txt | 1 + .../build/testdata/build_all_except_host.txt | 6 ++ .../glob_star_targets_except_host.txt | 1 + 7 files changed, 176 insertions(+) create mode 100644 .github/workflows/examples-cc32xx.yaml create mode 100644 scripts/build/builders/cc32xx.py diff --git a/.github/workflows/examples-cc32xx.yaml b/.github/workflows/examples-cc32xx.yaml new file mode 100644 index 00000000000000..e783299b0e8fa3 --- /dev/null +++ b/.github/workflows/examples-cc32xx.yaml @@ -0,0 +1,88 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Build example - TI CC32XX + +on: + push: + pull_request: + +concurrency: + group: ${{ github.ref }}-${{ github.workflow }}-${{ (github.event_name == 'pull_request' && github.event.number) || (github.event_name == 'workflow_dispatch' && github.run_number) || github.sha }} + cancel-in-progress: true + +jobs: + cc32xx: + name: cc32xx + timeout-minutes: 60 + + env: + BUILD_TYPE: gn_cc32xx + + runs-on: ubuntu-latest + if: github.actor != 'restyled-io[bot]' + + container: + image: connectedhomeip/chip-build-ti:0.5.91 + volumes: + - "/tmp/bloat_reports:/tmp/bloat_reports" + steps: + - uses: Wandalen/wretry.action@v1.0.15 + name: Checkout + with: + action: actions/checkout@v3 + with: | + token: ${{ github.token }} + attempt_limit: 3 + attempt_delay: 2000 + - name: Checkout submodules + run: scripts/checkout_submodules.py --shallow --platform cc32xx + - name: Set up environment for size reports + if: ${{ !env.ACT }} + env: + GH_CONTEXT: ${{ toJson(github) }} + run: scripts/tools/memory/gh_sizes_environment.py "${GH_CONTEXT}" + - name: Bootstrap + timeout-minutes: 25 + run: scripts/build/gn_bootstrap.sh + - name: Uploading bootstrap logs + uses: actions/upload-artifact@v2 + if: ${{ always() && !env.ACT }} + with: + name: bootstrap-logs + path: | + .environment/gn_out/.ninja_log + .environment/pigweed-venv/*.log + - name: Build examples + timeout-minutes: 60 + run: | + scripts/run_in_build_env.sh "\ + ./scripts/build/build_examples.py --target-glob cc32xx* build \ + --copy-artifacts-to out/artifacts \ + " + - name: Get lock app size stats + timeout-minutes: 5 + run: | + .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \ + cc32xx CC3235SF_LAUNCHXL lock \ + out/artifacts/cc32xx-lock/chip-CC3235SF_LAUNCHXL-lock-example.out \ + /tmp/bloat_reports/ + + - name: Uploading Size Reports + uses: actions/upload-artifact@v2 + if: ${{ !env.ACT }} + with: + name: Size,cc32xx-Examples,${{ env.GH_EVENT_PR }},${{ env.GH_EVENT_HASH }},${{ env.GH_EVENT_PARENT }},${{ github.event_name }} + path: | + /tmp/bloat_reports/ diff --git a/README.md b/README.md index 0d0a517dc39aa5..e66375854b576b 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,7 @@ [![Examples - nRF Connect SDK](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20nRF%20Connect%20SDK/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-nrfconnect.yaml) [![Examples - QPG](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20QPG/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-qpg.yaml) [![Examples - TI CC26X2X7](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC26X2X7/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc13x2x7_26x2x7.yaml) +[![Examples - TI CC32XX](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC32XX/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc32xx.yaml) [![Android](https://github.com/project-chip/connectedhomeip/workflows/Android/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/android.yaml) diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index cb457e61a4b6a6..44ac5722f079ec 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -19,6 +19,7 @@ from builders.ameba import AmebaApp, AmebaBoard, AmebaBuilder from builders.android import AndroidApp, AndroidBoard, AndroidBuilder from builders.cc13x2x7_26x2x7 import cc13x2x7_26x2x7App, cc13x2x7_26x2x7Builder +from builders.cc32xx import cc32xxApp, cc32xxBuilder from builders.cyw30739 import Cyw30739App, Cyw30739Board, Cyw30739Builder from builders.efr32 import Efr32App, Efr32Board, Efr32Builder from builders.esp32 import Esp32App, Esp32Board, Esp32Builder @@ -562,6 +563,10 @@ def cc13x2x7_26x2x7Targets(): yield target.Extend('all-clusters-minimal', app=cc13x2x7_26x2x7App.ALL_CLUSTERS_MINIMAL) yield target.Extend('shell', app=cc13x2x7_26x2x7App.SHELL) +def cc32xxTargets(): + target = Target('cc32xx', cc32xxBuilder) + + yield target.Extend('lock', app=cc32xxApp.LOCK) def Cyw30739Targets(): yield Target('cyw30739-cyw930739m2evb_01-light', Cyw30739Builder, @@ -646,6 +651,7 @@ def MW320Targets(): AmebaTargets(), K32WTargets(), cc13x2x7_26x2x7Targets(), + cc32xxTargets(), Cyw30739Targets(), QorvoTargets(), TizenTargets(), diff --git a/scripts/build/builders/cc32xx.py b/scripts/build/builders/cc32xx.py new file mode 100644 index 00000000000000..1d97e1b04c6ff2 --- /dev/null +++ b/scripts/build/builders/cc32xx.py @@ -0,0 +1,73 @@ +# Copyright (c) 2021 Project CHIP Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import os +from enum import Enum, auto + +from .gn import GnBuilder + + +class cc32xxApp(Enum): + LOCK = auto() + + + def ExampleName(self): + if self == cc32xxApp.LOCK: + return 'lock' + else: + raise Exception('Unknown app type: %r' % self) + + def AppNamePrefix(self): + if self == cc32xxApp.LOCK: + return 'chip-CC3235SF_LAUNCHXL-lock-example' + else: + raise Exception('Unknown app type: %r' % self) + + def BuildRoot(self, root): + return os.path.join(root, 'examples', self.ExampleName(), 'cc32xx') + + +class cc32xxBuilder(GnBuilder): + + def __init__(self, + root, + runner, + app: cc32xxApp = cc32xxApp.LOCK): + super(cc32xxBuilder, self).__init__( + root=app.BuildRoot(root), + runner=runner) + self.code_root = root + self.app = app + + def GnBuildArgs(self): + args = [ + 'ti_sysconfig_root="%s"' % os.environ['TI_SYSCONFIG_ROOT'], + ] + + + return args + + def build_outputs(self): + items = {} + if (self.app == cc32xxApp.LOCK): + extensions = [".out", ".bin", ".out.map"] + + else: + raise Exception('Unknown app type: %r' % self.app) + + for extension in extensions: + name = '%s%s' % (self.app.AppNamePrefix(), extension) + items[name] = os.path.join(self.output_dir, name) + + return items diff --git a/scripts/build/testdata/all_targets_except_host.txt b/scripts/build/testdata/all_targets_except_host.txt index fe98801f8ee5ac..b932d447462e2a 100644 --- a/scripts/build/testdata/all_targets_except_host.txt +++ b/scripts/build/testdata/all_targets_except_host.txt @@ -25,6 +25,7 @@ cc13x2x7_26x2x7-lock-mtd cc13x2x7_26x2x7-pump cc13x2x7_26x2x7-pump-controller cc13x2x7_26x2x7-shell +cc32xx-lock cyw30739-cyw930739m2evb_01-light cyw30739-cyw930739m2evb_01-lock cyw30739-cyw930739m2evb_01-ota-requestor (NOGLOB: Running out of XIP flash space) diff --git a/scripts/build/testdata/build_all_except_host.txt b/scripts/build/testdata/build_all_except_host.txt index 6cb3d25fcf67a2..018e63fb6653ef 100644 --- a/scripts/build/testdata/build_all_except_host.txt +++ b/scripts/build/testdata/build_all_except_host.txt @@ -172,6 +172,9 @@ gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/exa # Generating cc13x2x7_26x2x7-shell gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/shell/cc13x2x7_26x2x7 '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT"' {out}/cc13x2x7_26x2x7-shell +# Generating cc32xx-lock +gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/cc32xx '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT"' {out}/cc32xx-lock + # Generating cyw30739-cyw930739m2evb_01-light gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/cyw30739 {out}/cyw30739-cyw930739m2evb_01-light @@ -1544,6 +1547,9 @@ ninja -C {out}/cc13x2x7_26x2x7-pump-controller # Building cc13x2x7_26x2x7-shell ninja -C {out}/cc13x2x7_26x2x7-shell +# Building cc32xx-lock +ninja -C {out}/cc32xx-lock + # Building cyw30739-cyw930739m2evb_01-light ninja -C {out}/cyw30739-cyw930739m2evb_01-light diff --git a/scripts/build/testdata/glob_star_targets_except_host.txt b/scripts/build/testdata/glob_star_targets_except_host.txt index d7090c2c52ccfd..00cdeda405dea9 100644 --- a/scripts/build/testdata/glob_star_targets_except_host.txt +++ b/scripts/build/testdata/glob_star_targets_except_host.txt @@ -25,6 +25,7 @@ cc13x2x7_26x2x7-lock-mtd cc13x2x7_26x2x7-pump cc13x2x7_26x2x7-pump-controller cc13x2x7_26x2x7-shell +cc32xx-lock cyw30739-cyw930739m2evb_01-light cyw30739-cyw930739m2evb_01-lock cyw30739-cyw930739m2evb_01-ota-requestor-no-progress-logging From 35c4cbda051c7e67181769926e6b76088f40bcdd Mon Sep 17 00:00:00 2001 From: abiradarti <104591549+abiradarti@users.noreply.github.com> Date: Thu, 18 Aug 2022 13:50:24 -0500 Subject: [PATCH 02/40] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e66375854b576b..3559da4558016e 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ [![Examples - QPG](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20QPG/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-qpg.yaml) [![Examples - TI CC26X2X7](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC26X2X7/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc13x2x7_26x2x7.yaml) [![Examples - TI CC32XX](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC32XX/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc32xx.yaml) +[![Examples - TI CC26X2X7](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC26X2X7/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc13x2x7_26x2x7.yaml) [![Android](https://github.com/project-chip/connectedhomeip/workflows/Android/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/android.yaml) From 8782f6ca2769aa8bcf893d7b2acfc706c43688ff Mon Sep 17 00:00:00 2001 From: abiradarti <104591549+abiradarti@users.noreply.github.com> Date: Thu, 18 Aug 2022 13:51:12 -0500 Subject: [PATCH 03/40] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3559da4558016e..9e70b94284ccc7 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ [![Examples - QPG](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20QPG/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-qpg.yaml) [![Examples - TI CC26X2X7](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC26X2X7/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc13x2x7_26x2x7.yaml) [![Examples - TI CC32XX](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC32XX/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc32xx.yaml) -[![Examples - TI CC26X2X7](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC26X2X7/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc13x2x7_26x2x7.yaml) +[![Examples - TI CC32XX](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC32XX/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc32xx.yaml) [![Android](https://github.com/project-chip/connectedhomeip/workflows/Android/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/android.yaml) From 6e27e1ed191986f4c76acc00b0561e3e7e940b98 Mon Sep 17 00:00:00 2001 From: abiradarti <104591549+abiradarti@users.noreply.github.com> Date: Thu, 18 Aug 2022 13:51:29 -0500 Subject: [PATCH 04/40] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 9e70b94284ccc7..e66375854b576b 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,6 @@ [![Examples - QPG](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20QPG/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-qpg.yaml) [![Examples - TI CC26X2X7](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC26X2X7/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc13x2x7_26x2x7.yaml) [![Examples - TI CC32XX](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC32XX/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc32xx.yaml) -[![Examples - TI CC32XX](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20TI%20CC32XX/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-cc32xx.yaml) [![Android](https://github.com/project-chip/connectedhomeip/workflows/Android/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/android.yaml) From b357592026c4c5531097ad1e9d7d0c7003fbbaf0 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Thu, 18 Aug 2022 16:41:07 -0500 Subject: [PATCH 05/40] update lock-app readme sysconfig version --- examples/lock-app/cc32xx/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/lock-app/cc32xx/README.md b/examples/lock-app/cc32xx/README.md index c1474a096a6b25..45529d846c2566 100644 --- a/examples/lock-app/cc32xx/README.md +++ b/examples/lock-app/cc32xx/README.md @@ -62,9 +62,9 @@ guide assumes that the environment is linux based, and recommends Ubuntu 20.04. ``` $ cd ~ - $ wget https://software-dl.ti.com/ccs/esd/sysconfig/sysconfig-1.12.1_2446-setup.run - $ chmod +x sysconfig-1.12.1_2446-setup.run - $ ./sysconfig-1.12.1_2446-setup.run + $ wget https://software-dl.ti.com/ccs/esd/sysconfig/sysconfig-1.13.0_2553-setup.run + $ chmod +x sysconfig-1.13.0_2553-setup.run + $ ./sysconfig-1.13.0_2553-setup.run ``` - Run the bootstrap script to setup the build environment. @@ -89,14 +89,14 @@ Ninja to build the executable. - Run the build to produce a default executable. By default on Linux the Sysconfig is located in a `ti` folder in the user's home directory, and you must provide the absolute path for it. For example - `/home/username/ti/sysconfig_1.12.1`. On Windows the default directory is + `/home/username/ti/sysconfig_1.13.0`. On Windows the default directory is `C:\ti`. Take note of this install path, as it will be used in the next step. ``` $ cd ~/connectedhomeip/examples/lock-app/cc32xx - $ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.12.1\"" + $ gn gen out/debug --args="ti_sysconfig_root=\"$HOME/ti/sysconfig_1.13.0\"" $ ninja -C out/debug ``` From 25e7428d0128754bf0bf72abcfd74183133804ae Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Wed, 24 Aug 2022 13:44:52 -0500 Subject: [PATCH 06/40] fixed lock app example path in cc32xx.py --- scripts/build/builders/cc32xx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/builders/cc32xx.py b/scripts/build/builders/cc32xx.py index 1d97e1b04c6ff2..fc390777470ed3 100644 --- a/scripts/build/builders/cc32xx.py +++ b/scripts/build/builders/cc32xx.py @@ -24,7 +24,7 @@ class cc32xxApp(Enum): def ExampleName(self): if self == cc32xxApp.LOCK: - return 'lock' + return 'lock-app' else: raise Exception('Unknown app type: %r' % self) From 88b7d469fe737051051740feea4aeec1ede46f8a Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Wed, 24 Aug 2022 16:59:17 -0500 Subject: [PATCH 07/40] wrap dmm source set with cc13xx family check --- .../ti_simplelink_sdk/ti_simplelink_sdk.gni | 93 ++++++++++--------- 1 file changed, 48 insertions(+), 45 deletions(-) diff --git a/third_party/ti_simplelink_sdk/ti_simplelink_sdk.gni b/third_party/ti_simplelink_sdk/ti_simplelink_sdk.gni index 3613a0bb6b6fe7..dfbdb5f841bc87 100644 --- a/third_party/ti_simplelink_sdk/ti_simplelink_sdk.gni +++ b/third_party/ti_simplelink_sdk/ti_simplelink_sdk.gni @@ -456,56 +456,59 @@ template("ti_simplelink_sdk") { } source_set("${sdk_target_name}_dmm") { - defines = [] - include_dirs = [ - "${chip_root}/third_party/openthread/repo/include/", - "${chip_root}/src/", - ] - configs -= - [ "${build_root}/config/compiler:warnings_default" ] # removed for - # -Wshadow + if (ti_simplelink_device_family == "cc13x2_26x2" || + ti_simplelink_device_family == "cc13x2x7_26x2x7") { + defines = [] + include_dirs = [ + "${chip_root}/third_party/openthread/repo/include/", + "${chip_root}/src/", + ] + configs -= + [ "${build_root}/config/compiler:warnings_default" ] # removed for + # -Wshadow - cflags = [ - "-Wno-sign-compare", - "-Wno-unused-variable", - "-Wno-implicit-function-declaration", # asm not defined - ] + cflags = [ + "-Wno-sign-compare", + "-Wno-unused-variable", + "-Wno-implicit-function-declaration", # asm not defined + ] - sources = [ - "${ti_simplelink_sdk_root}/source/ti/ble5stack/common/cc26xx/freertos/TI_heap_wrapper.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/common/cc26xx/freertos/bget.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/common/cc26xx/rcosc/rcosc_calibration.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/host/gatt_uuid.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/host/gattservapp_util.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/icall/app/icall_api_lite.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/icall/src/icall_cc2650.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/icall/src/icall_user_config.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/icall/stack/ble_user_config_stack.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/profiles/dev_info/cc26xx/devinfoservice.c", - "${ti_simplelink_sdk_root}/source/ti/ble5stack/rom/agama_r1/rom_init.c", - "${ti_simplelink_sdk_root}/source/ti/dmm/apps/common/ble_remote_display/stack/osal_icall_ble.c", - "${ti_simplelink_sdk_root}/source/ti/dmm/apps/common/freertos/icall_FreeRTOS.c", - "${ti_simplelink_sdk_root}/source/ti/dmm/apps/common/freertos/util.c", - "${ti_simplelink_sdk_root}/source/ti/dmm/apps/common/thread/source/activity/dmm_thread_activity.c", - "${ti_simplelink_sdk_root}/source/ti/dmm/dmm_priority_ble_thread.c", - - # Move this into the SDK - "${chip_root}/src/platform/cc13x2_26x2/ble_user_config.c", - "${chip_root}/src/platform/cc13x2_26x2/chipOBleProfile.c", - ] + sources = [ + "${ti_simplelink_sdk_root}/source/ti/ble5stack/common/cc26xx/freertos/TI_heap_wrapper.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/common/cc26xx/freertos/bget.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/common/cc26xx/rcosc/rcosc_calibration.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/host/gatt_uuid.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/host/gattservapp_util.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/icall/app/icall_api_lite.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/icall/src/icall_cc2650.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/icall/src/icall_user_config.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/icall/stack/ble_user_config_stack.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/profiles/dev_info/cc26xx/devinfoservice.c", + "${ti_simplelink_sdk_root}/source/ti/ble5stack/rom/agama_r1/rom_init.c", + "${ti_simplelink_sdk_root}/source/ti/dmm/apps/common/ble_remote_display/stack/osal_icall_ble.c", + "${ti_simplelink_sdk_root}/source/ti/dmm/apps/common/freertos/icall_FreeRTOS.c", + "${ti_simplelink_sdk_root}/source/ti/dmm/apps/common/freertos/util.c", + "${ti_simplelink_sdk_root}/source/ti/dmm/apps/common/thread/source/activity/dmm_thread_activity.c", + "${ti_simplelink_sdk_root}/source/ti/dmm/dmm_priority_ble_thread.c", + + # Move this into the SDK + "${chip_root}/src/platform/cc13x2_26x2/ble_user_config.c", + "${chip_root}/src/platform/cc13x2_26x2/chipOBleProfile.c", + ] - configs -= [ "${build_root}/config/compiler:std_default" ] - configs += [ ":${sdk_target_name}_posix_config" ] + configs -= [ "${build_root}/config/compiler:std_default" ] + configs += [ ":${sdk_target_name}_posix_config" ] - public_deps = [ - "${chip_root}/third_party/ti_simplelink_sdk:freertos", - "${chip_root}/third_party/ti_simplelink_sdk:ti_simplelink_sysconfig", - ] + public_deps = [ + "${chip_root}/third_party/ti_simplelink_sdk:freertos", + "${chip_root}/third_party/ti_simplelink_sdk:ti_simplelink_sysconfig", + ] - public_configs = [ - ":${sdk_target_name}_config", - ":${sdk_target_name}_dmm_config", - ] + public_configs = [ + ":${sdk_target_name}_config", + ":${sdk_target_name}_dmm_config", + ] + } } group(sdk_target_name) { From 13f7e87bd8fe8acc586b0d35ae2fec4a016209d1 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Thu, 25 Aug 2022 14:51:11 -0500 Subject: [PATCH 08/40] added cc32xx as a platform for freertos submodule, added path to dnssd.h --- .gitmodules | 2 +- src/platform/cc32xx/BUILD.gn | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitmodules b/.gitmodules index 2f40b45697df5a..20da8f3ec1494c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -62,7 +62,7 @@ path = third_party/freertos/repo url = https://github.com/FreeRTOS/FreeRTOS-Kernel.git branch = V10.3.1-kernel-only - platforms = ameba,cc13x2_26x2,bl602,efr32,esp32,k32w0,infineon,qpg + platforms = ameba,cc13x2_26x2,bl602,efr32,esp32,k32w0,infineon,qpg,cc32xx [submodule "simw-top-mini"] path = third_party/simw-top-mini/repo url = https://github.com/NXP/plug-and-trust.git diff --git a/src/platform/cc32xx/BUILD.gn b/src/platform/cc32xx/BUILD.gn index 5932becd949778..96f05e238bdbbc 100644 --- a/src/platform/cc32xx/BUILD.gn +++ b/src/platform/cc32xx/BUILD.gn @@ -46,7 +46,9 @@ static_library("cc32xx") { "SystemPlatformConfig.h", ] - include_dirs = [ "ifmod/" ] + include_dirs = [ + "ifmod/", + "../../" ] deps = [] public_deps = [ From 427d0c0c32f3be9762f4235a19ca9c8935441730 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Thu, 25 Aug 2022 15:20:36 -0500 Subject: [PATCH 09/40] trying again to add dnssd.h path --- src/platform/cc32xx/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/cc32xx/BUILD.gn b/src/platform/cc32xx/BUILD.gn index 96f05e238bdbbc..117df28b111260 100644 --- a/src/platform/cc32xx/BUILD.gn +++ b/src/platform/cc32xx/BUILD.gn @@ -48,7 +48,7 @@ static_library("cc32xx") { include_dirs = [ "ifmod/", - "../../" ] + "../../app/server" ] deps = [] public_deps = [ From 3bac38203de4138920a5019de0b201becd9b29a8 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Fri, 26 Aug 2022 13:48:55 -0500 Subject: [PATCH 10/40] adding path to public deps --- src/platform/cc32xx/BUILD.gn | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/cc32xx/BUILD.gn b/src/platform/cc32xx/BUILD.gn index 117df28b111260..fbd290a2fd59fa 100644 --- a/src/platform/cc32xx/BUILD.gn +++ b/src/platform/cc32xx/BUILD.gn @@ -54,6 +54,7 @@ static_library("cc32xx") { public_deps = [ "${chip_root}/src/crypto", "${chip_root}/src/platform:platform_base", + "${chip_root}/src/app/server" ] if (chip_enable_ble) { From c5dbce319302fa3555391c42f9f9ad66d02e1422 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Mon, 29 Aug 2022 10:31:14 -0500 Subject: [PATCH 11/40] adding src to include path and taking out public dependency --- src/platform/cc32xx/BUILD.gn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/platform/cc32xx/BUILD.gn b/src/platform/cc32xx/BUILD.gn index fbd290a2fd59fa..27f04cbe996a17 100644 --- a/src/platform/cc32xx/BUILD.gn +++ b/src/platform/cc32xx/BUILD.gn @@ -48,13 +48,14 @@ static_library("cc32xx") { include_dirs = [ "ifmod/", - "../../app/server" ] + "${chip_root}/src", + ] deps = [] public_deps = [ "${chip_root}/src/crypto", "${chip_root}/src/platform:platform_base", - "${chip_root}/src/app/server" + ] if (chip_enable_ble) { From 618ceafb2964b911ddb6410ad8744089cadad8fa Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Tue, 30 Aug 2022 10:50:21 -0500 Subject: [PATCH 12/40] trying to add dnssd lib as a dependency --- src/platform/cc32xx/BUILD.gn | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/platform/cc32xx/BUILD.gn b/src/platform/cc32xx/BUILD.gn index 27f04cbe996a17..48d9df7da401de 100644 --- a/src/platform/cc32xx/BUILD.gn +++ b/src/platform/cc32xx/BUILD.gn @@ -48,9 +48,10 @@ static_library("cc32xx") { include_dirs = [ "ifmod/", - "${chip_root}/src", ] - deps = [] + deps = [ + "${chip_root}/src/lib/dnssd:platform_header", + ] public_deps = [ "${chip_root}/src/crypto", From 18b7c9a98d9777b717bbf8ebdb4ebf5a7a8c0280 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Mon, 28 Nov 2022 16:39:31 -0600 Subject: [PATCH 13/40] saved from August --- examples/lock-app/cc32xx/BUILD.gn | 1 + .../platform/cc32xx/CommonDeviceCallbacks.cpp | 44 +++++++++++++++++++ .../platform/cc32xx/CommonDeviceCallbacks.h | 41 +++++++++++++++++ src/platform/cc32xx/BUILD.gn | 9 ++-- .../cc32xx/ConnectivityManagerImpl.cpp | 16 +++---- 5 files changed, 95 insertions(+), 16 deletions(-) create mode 100644 examples/platform/cc32xx/CommonDeviceCallbacks.cpp create mode 100644 examples/platform/cc32xx/CommonDeviceCallbacks.h diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index d8fd3d4cceeef8..f0bfebb24899a2 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -65,6 +65,7 @@ source_set("lock_app_sdk") { "${project_dir}/main", "${project_dir}/main/ifmod/", "${chip_root}/src/platform/cc32xx", + "${chip_root}/examples/platform/cc32xx", ] deps = [ diff --git a/examples/platform/cc32xx/CommonDeviceCallbacks.cpp b/examples/platform/cc32xx/CommonDeviceCallbacks.cpp new file mode 100644 index 00000000000000..3f3f9995dd53f8 --- /dev/null +++ b/examples/platform/cc32xx/CommonDeviceCallbacks.cpp @@ -0,0 +1,44 @@ +/* + * + * Copyright (c) 2022 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include "CommonDeviceCallbacks.h" +#include + +using namespace chip; +using namespace chip::DeviceLayer; +using namespace chip::System; + +DeviceCallbacksDelegate * appDelegate = nullptr; + +void CommonDeviceCallbacks::DeviceEventCallback(const ChipDeviceEvent * event, intptr_t arg) +{ + switch (event->Type) + { + case DeviceEventType::kInterfaceIpAddressChanged: + if ((event->InterfaceIpAddressChanged.Type == InterfaceIpChangeType::kIpV4_Assigned) || + (event->InterfaceIpAddressChanged.Type == InterfaceIpChangeType::kIpV6_Assigned)) + { + // MDNS server restart on any ip assignment: if link local ipv6 is configured, that + // will not trigger a 'internet connectivity change' as there is no internet + // connectivity. MDNS still wants to refresh its listening interfaces to include the + // newly selected address. + chip::app::DnssdServer::Instance().StartServer(); + } + } +} + + diff --git a/examples/platform/cc32xx/CommonDeviceCallbacks.h b/examples/platform/cc32xx/CommonDeviceCallbacks.h new file mode 100644 index 00000000000000..e2ad050c845821 --- /dev/null +++ b/examples/platform/cc32xx/CommonDeviceCallbacks.h @@ -0,0 +1,41 @@ +/* + * + * Copyright (c) 2022 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#pragma once + +#include +#include +#include + +class CommonDeviceCallbacks : public chip::DeviceManager::CHIPDeviceManagerCallbacks +{ +public: + virtual void DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); +}; + +class DeviceCallbacksDelegate +{ +public: + static DeviceCallbacksDelegate & Instance() + { + static DeviceCallbacksDelegate instance; + return instance; + } + DeviceCallbacksDelegate * mDelegate = nullptr; + void SetAppDelegate(DeviceCallbacksDelegate * delegate) { mDelegate = delegate; } + DeviceCallbacksDelegate * GetAppDelegate() { return mDelegate; } +}; diff --git a/src/platform/cc32xx/BUILD.gn b/src/platform/cc32xx/BUILD.gn index 48d9df7da401de..5d84cdd3d29801 100644 --- a/src/platform/cc32xx/BUILD.gn +++ b/src/platform/cc32xx/BUILD.gn @@ -47,16 +47,13 @@ static_library("cc32xx") { ] include_dirs = [ - "ifmod/", - ] - deps = [ - "${chip_root}/src/lib/dnssd:platform_header", - ] + ] + public_deps = [ "${chip_root}/src/crypto", "${chip_root}/src/platform:platform_base", - + ] if (chip_enable_ble) { diff --git a/src/platform/cc32xx/ConnectivityManagerImpl.cpp b/src/platform/cc32xx/ConnectivityManagerImpl.cpp index f9e5dc12e2ffd1..e5364668f7c121 100644 --- a/src/platform/cc32xx/ConnectivityManagerImpl.cpp +++ b/src/platform/cc32xx/ConnectivityManagerImpl.cpp @@ -37,7 +37,7 @@ #include -#include +//#include "../../app/server/Dnssd.h" #include #include #include @@ -170,16 +170,8 @@ void ConnectivityManagerImpl::_OnPlatformEvent(const ChipDeviceEvent * event) if (event->Type == DeviceLayer::DeviceEventType::kCommissioningComplete) { - // if (event->CommissioningComplete.Status == CHIP_NO_ERROR) - // { ChipLogProgress(AppServer, "Commissioning completed successfully"); DeviceLayer::Internal::CC32XXConfig::WriteKVSToNV(); - // } - // else - // { - // ChipLogError(AppServer, "Commissioning failed with error %" CHIP_ERROR_FORMAT, - // event->CommissioningComplete.Status.Format()); - // } } } @@ -208,7 +200,11 @@ void ConnectivityManagerImpl::_OnLwipEvent(struct netif * pNetIf, NetIfStatus_e void ConnectivityManagerImpl::_OnIpAcquired(intptr_t arg) { cc32xxLog("ConnectivityManagerImpl::OnIpAcquired() : Start DNS Server"); - chip::app::DnssdServer::Instance().StartServer(); + ChipDeviceEvent event; + event.Type = DeviceEventType::kInterfaceIpAddressChanged; + event.InterfaceIpAddressChanged.Type = InterfaceIpChangeType::kIpV4_Assigned; + PlatformMgr().PostEventOrDie(&event); + //chip::app::DnssdServer::Instance().StartServer(); } void ConnectivityManagerImpl::OnStationConnected() From ab5511f6d58d6617ddf0ded91e969d1e06f3b514 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Wed, 18 Jan 2023 17:04:04 -0600 Subject: [PATCH 14/40] moved DNSSD Start Server call and CommonDeviceCallbacks into examples/lock-app/cc32xx, string library error appears during build --- examples/lock-app/cc32xx/BUILD.gn | 6 +- examples/lock-app/cc32xx/main/AppTask.cpp | 15 +++ .../cc32xx/main/CHIPDeviceManager.cpp | 70 ++++++++++++ .../cc32xx/main}/CommonDeviceCallbacks.cpp | 2 + .../cc32xx/main/include/CHIPDeviceManager.h | 106 ++++++++++++++++++ .../main/include}/CommonDeviceCallbacks.h | 3 +- .../cc32xx/main/include/DeviceCallbacks.h | 43 +++++++ examples/platform/cc32xx/BUILD.gn | 9 ++ .../cc32xx/ConnectivityManagerImpl.cpp | 3 +- 9 files changed, 252 insertions(+), 5 deletions(-) create mode 100644 examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp rename examples/{platform/cc32xx => lock-app/cc32xx/main}/CommonDeviceCallbacks.cpp (93%) create mode 100644 examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h rename examples/{platform/cc32xx => lock-app/cc32xx/main/include}/CommonDeviceCallbacks.h (94%) create mode 100644 examples/lock-app/cc32xx/main/include/DeviceCallbacks.h diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index f0bfebb24899a2..400fbb151c09cb 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -55,6 +55,8 @@ source_set("lock_app_sdk") { "${chip_root}/src/platform/cc32xx/Logging.cpp", "${project_dir}/main/cc32xxWifiInit.c", "${project_dir}/main/main.cpp", + "${project_dir}/main/CHIPDeviceManager.cpp", + "${project_dir}/main/CommonDeviceCallbacks.cpp", "${ti_simplelink_sdk_root}/examples/rtos/common/ifmod/lwip_if.c", "${ti_simplelink_sdk_root}/examples/rtos/common/ifmod/utils_if.c", "${ti_simplelink_sdk_root}/examples/rtos/common/ifmod/wifi_if.c", @@ -73,8 +75,8 @@ source_set("lock_app_sdk") { ":sysconfig", "${chip_root}/examples/lock-app/lock-common", "${chip_root}/src/lib", - "${chip_root}/src/setup_payload", - ] + "${chip_root}/src/setup_payload", + ] } ti_simplelink_executable("lock_app") { diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index 40390e66fc2c94..c958c39df45e44 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -33,6 +33,9 @@ #include #include #include +#include +#include +#include #include #include @@ -59,6 +62,7 @@ using namespace ::chip::System; using namespace ::chip::Credentials; using namespace ::chip::DeviceLayer; +using namespace ::chip::DeviceManager; static TaskHandle_t sAppTaskHandle; static QueueHandle_t sAppEventQueue; @@ -68,6 +72,8 @@ static Button_Handle gButtonRightHandle; AppTask AppTask::sAppTask; +static AppDeviceCallbacks EchoCallbacks; + int AppTask::StartAppTask() { int ret = 0; @@ -170,6 +176,15 @@ int AppTask::Init() PLAT_LOG("Print Onboarding Codes"); PrintOnboardingCodes(chip::RendezvousInformationFlags(chip::RendezvousInformationFlag::kOnNetwork)); + CHIPDeviceManager & deviceMgr = CHIPDeviceManager::GetInstance(); + ret = deviceMgr.Init(&EchoCallbacks); + if (ret != CHIP_NO_ERROR) + { + PLAT_LOG("CHIPDeviceManager::Init() failed: %s", ErrorStr(ret)); + while (1) + ; + } + return 0; } diff --git a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp new file mode 100644 index 00000000000000..4a7da815e5aa21 --- /dev/null +++ b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp @@ -0,0 +1,70 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file + * This file implements the CHIP Device Interface that is used by + * applications to interact with the CHIP stack + * + */ + +#include + +#include "CHIPDeviceManager.h" +// #include +// #include +// #include +// #include +// #include +// #include + + +using namespace ::chip; + +namespace chip { + +namespace DeviceManager { + +using namespace ::chip::DeviceLayer; + +void CHIPDeviceManager::CommonDeviceEventHandler(const ChipDeviceEvent * event, intptr_t arg) +{ + CHIPDeviceManagerCallbacks * cb = reinterpret_cast(arg); + if (cb != nullptr) + { + cb->DeviceEventCallback(event, reinterpret_cast(cb)); + } +} + +/** + * + */ +CHIP_ERROR CHIPDeviceManager::Init(CHIPDeviceManagerCallbacks * cb) +{ + mCB = cb; + + // Register a function to receive events from the CHIP device layer. Note that calls to + // this function will happen on the CHIP event loop thread, not the app_main thread. + PlatformMgr().AddEventHandler(CHIPDeviceManager::CommonDeviceEventHandler, reinterpret_cast(cb)); + + // Start a task to run the CHIP Device event loop. + return PlatformMgr().StartEventLoopTask(); +} +} // namespace DeviceManager +} // namespace chip + + diff --git a/examples/platform/cc32xx/CommonDeviceCallbacks.cpp b/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp similarity index 93% rename from examples/platform/cc32xx/CommonDeviceCallbacks.cpp rename to examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp index 3f3f9995dd53f8..ca43148ae1add5 100644 --- a/examples/platform/cc32xx/CommonDeviceCallbacks.cpp +++ b/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp @@ -23,6 +23,7 @@ using namespace chip::DeviceLayer; using namespace chip::System; DeviceCallbacksDelegate * appDelegate = nullptr; +extern "C" void cc32xxLog(const char * aFormat, ...); void CommonDeviceCallbacks::DeviceEventCallback(const ChipDeviceEvent * event, intptr_t arg) { @@ -36,6 +37,7 @@ void CommonDeviceCallbacks::DeviceEventCallback(const ChipDeviceEvent * event, i // will not trigger a 'internet connectivity change' as there is no internet // connectivity. MDNS still wants to refresh its listening interfaces to include the // newly selected address. + cc32xxLog("DeviceEventCallback:Start DNS Server"); chip::app::DnssdServer::Instance().StartServer(); } } diff --git a/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h b/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h new file mode 100644 index 00000000000000..a089ba91c8fa2e --- /dev/null +++ b/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h @@ -0,0 +1,106 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file + * This file contains definitions for the CHIP DeviceManager Interface + * + * This object will co-ordinate multiple activities such as + * initialisation, rendezvous, session mgmt and other such + * activities within the CHIP stack. This is a singleton object. + */ + +#pragma once + +#include +#include +#include + +#include + +#include +#include + +namespace chip { +namespace DeviceManager { + +/** + * @brief + * This class provides a skeleton for all the callback functions. The functions will be + * called by other objects within the CHIP stack for specific events. + * Applications interested in receiving specific callbacks can specialize this class and handle + * these events in their implementation of this class. + */ +class DLL_EXPORT CHIPDeviceManagerCallbacks +{ +public: + /** + * @brief + * Called when CHIP Device events (PublicEventTypes) are triggered. + * + * @param event ChipDeviceEvent that occurred + * @param arg arguments specific to the event, if any + */ + virtual void DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); + + virtual ~CHIPDeviceManagerCallbacks() {} +}; + +/** + * @brief + * A common class that drives other components of the CHIP stack + */ +class DLL_EXPORT CHIPDeviceManager +{ +public: + CHIPDeviceManager(const CHIPDeviceManager &) = delete; + CHIPDeviceManager(const CHIPDeviceManager &&) = delete; + CHIPDeviceManager & operator=(const CHIPDeviceManager &) = delete; + + static CHIPDeviceManager & GetInstance() + { + static CHIPDeviceManager instance; + return instance; + } + + /** + * @brief + * Initialise CHIPDeviceManager + * + * @param cb Application's instance of the CHIPDeviceManagerCallbacks for consuming events + */ + CHIP_ERROR Init(CHIPDeviceManagerCallbacks * cb); + + /** + * @brief + * Fetch a pointer to the registered CHIPDeviceManagerCallbacks object. + * + */ + CHIPDeviceManagerCallbacks * GetCHIPDeviceManagerCallbacks() { return mCB; } + + /** + * Use internally for registration of the ChipDeviceEvents + */ + static void CommonDeviceEventHandler(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); + +private: + CHIPDeviceManagerCallbacks * mCB = nullptr; + CHIPDeviceManager() {} +}; + +} // namespace DeviceManager +} // namespace chip diff --git a/examples/platform/cc32xx/CommonDeviceCallbacks.h b/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h similarity index 94% rename from examples/platform/cc32xx/CommonDeviceCallbacks.h rename to examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h index e2ad050c845821..561cd6df406ecb 100644 --- a/examples/platform/cc32xx/CommonDeviceCallbacks.h +++ b/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h @@ -17,8 +17,7 @@ */ #pragma once -#include -#include +#include #include class CommonDeviceCallbacks : public chip::DeviceManager::CHIPDeviceManagerCallbacks diff --git a/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h b/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h new file mode 100644 index 00000000000000..3fb2f19133a1d2 --- /dev/null +++ b/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h @@ -0,0 +1,43 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file DeviceCallbacks.h + * + * Implementations for the DeviceManager callbacks for this application + * + **/ + +#ifndef DEVICE_LOCK_CALLBACKS_H +#define DEVICE_LOCK_CALLBACKS_H + +#include +#include + +class AppDeviceCallbacks : public CommonDeviceCallbacks +{ +public: + virtual void PostAttributeChangeCallback(chip::EndpointId endpointId, chip::ClusterId clusterId, chip::AttributeId attributeId, + uint8_t type, uint16_t size, uint8_t * value); + +private: + void OnOnOffPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value); + void OnIdentifyPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value); +}; + +#endif // DEVICE_LOCK_CALLBACKS_H diff --git a/examples/platform/cc32xx/BUILD.gn b/examples/platform/cc32xx/BUILD.gn index 031d054e190927..25a221444b700e 100644 --- a/examples/platform/cc32xx/BUILD.gn +++ b/examples/platform/cc32xx/BUILD.gn @@ -17,3 +17,12 @@ import("//build_overrides/chip.gni") config("chip_examples_project_config") { include_dirs = [ "project_include" ] } + +#static_library("cc32xx_common"){ +# sources = [ +# "CHIPDeviceManager.cpp", +# "CHIPDeviceManager.h", +# "CommonDeviceCallbacks.cpp", +# "CommonDeviceCallbacks.h", +# ] +#} diff --git a/src/platform/cc32xx/ConnectivityManagerImpl.cpp b/src/platform/cc32xx/ConnectivityManagerImpl.cpp index e5364668f7c121..0ae49d36f6d98a 100644 --- a/src/platform/cc32xx/ConnectivityManagerImpl.cpp +++ b/src/platform/cc32xx/ConnectivityManagerImpl.cpp @@ -37,7 +37,7 @@ #include -//#include "../../app/server/Dnssd.h" +#include "app/server/Dnssd.h" #include #include #include @@ -191,6 +191,7 @@ void ConnectivityManagerImpl::_OnLwipEvent(struct netif * pNetIf, NetIfStatus_e { case E_NETIF_STATUS_IP_ACQUIRED: PlatformMgr().ScheduleWork(_OnIpAcquired); + cc32xxLog("ConnectivityManagerImpl::OnLwipEvent() : Scheduled OnIpAcquired"); break; default: break; From 73f4cb45ac7c2ff75f35d2e123b68fc4e5918210 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Thu, 19 Jan 2023 11:32:29 -0600 Subject: [PATCH 15/40] removed dnssd.h file include from connectivitymanagerimpl.cpp --- src/platform/cc32xx/ConnectivityManagerImpl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/platform/cc32xx/ConnectivityManagerImpl.cpp b/src/platform/cc32xx/ConnectivityManagerImpl.cpp index 0ae49d36f6d98a..1683883218c434 100644 --- a/src/platform/cc32xx/ConnectivityManagerImpl.cpp +++ b/src/platform/cc32xx/ConnectivityManagerImpl.cpp @@ -37,7 +37,6 @@ #include -#include "app/server/Dnssd.h" #include #include #include From e9602528ad265bd36e72b3e2190cb6a731df2740 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Fri, 20 Jan 2023 15:42:00 -0600 Subject: [PATCH 16/40] moved commondevicecallbacks and chipdevicemanager into example src files in build.gn --- examples/lock-app/cc32xx/BUILD.gn | 4 ++-- examples/lock-app/cc32xx/main/AppTask.cpp | 3 +-- examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp | 1 + examples/lock-app/cc32xx/main/include/DeviceCallbacks.h | 6 ------ 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index 400fbb151c09cb..c4a881a263ff90 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -55,8 +55,6 @@ source_set("lock_app_sdk") { "${chip_root}/src/platform/cc32xx/Logging.cpp", "${project_dir}/main/cc32xxWifiInit.c", "${project_dir}/main/main.cpp", - "${project_dir}/main/CHIPDeviceManager.cpp", - "${project_dir}/main/CommonDeviceCallbacks.cpp", "${ti_simplelink_sdk_root}/examples/rtos/common/ifmod/lwip_if.c", "${ti_simplelink_sdk_root}/examples/rtos/common/ifmod/utils_if.c", "${ti_simplelink_sdk_root}/examples/rtos/common/ifmod/wifi_if.c", @@ -88,6 +86,8 @@ ti_simplelink_executable("lock_app") { "${project_dir}/main/BoltLockManager.cpp", "${project_dir}/main/CXXExceptionStubs.cpp", "${project_dir}/main/ZclCallbacks.cpp", + "${project_dir}/main/CHIPDeviceManager.cpp", + "${project_dir}/main/CommonDeviceCallbacks.cpp", ] deps = [ diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index c958c39df45e44..c4023b7e32d807 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -21,7 +21,7 @@ #include "AppConfig.h" #include "AppEvent.h" #include -#include +#include #include #include @@ -33,7 +33,6 @@ #include #include #include -#include #include #include diff --git a/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp b/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp index ca43148ae1add5..9b2a9489e6fe49 100644 --- a/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp +++ b/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp @@ -15,6 +15,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + #include "CommonDeviceCallbacks.h" #include diff --git a/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h b/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h index 3fb2f19133a1d2..02824c0b092310 100644 --- a/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h +++ b/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h @@ -31,13 +31,7 @@ class AppDeviceCallbacks : public CommonDeviceCallbacks { -public: - virtual void PostAttributeChangeCallback(chip::EndpointId endpointId, chip::ClusterId clusterId, chip::AttributeId attributeId, - uint8_t type, uint16_t size, uint8_t * value); -private: - void OnOnOffPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value); - void OnIdentifyPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value); }; #endif // DEVICE_LOCK_CALLBACKS_H From 63347f121beaccc077f8114accc86aaa6a22efe2 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Tue, 24 Jan 2023 15:57:46 -0600 Subject: [PATCH 17/40] added implementation for deviceeventcallback --- examples/lock-app/cc32xx/BUILD.gn | 1 + examples/lock-app/cc32xx/main/AppTask.cpp | 5 +- .../cc32xx/main/CHIPDeviceManager.cpp | 5 ++ .../lock-app/cc32xx/main/DeviceCallbacks.cpp | 47 +++++++++++++++++++ .../cc32xx/main/include/CHIPDeviceManager.h | 18 ++++++- .../main/include/CommonDeviceCallbacks.h | 2 +- .../cc32xx/main/include/DeviceCallbacks.h | 6 +++ 7 files changed, 80 insertions(+), 4 deletions(-) create mode 100644 examples/lock-app/cc32xx/main/DeviceCallbacks.cpp diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index c4a881a263ff90..3522df9a2c7b78 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -86,6 +86,7 @@ ti_simplelink_executable("lock_app") { "${project_dir}/main/BoltLockManager.cpp", "${project_dir}/main/CXXExceptionStubs.cpp", "${project_dir}/main/ZclCallbacks.cpp", + # "${project_dir}/main/DeviceCallbacks.cpp", "${project_dir}/main/CHIPDeviceManager.cpp", "${project_dir}/main/CommonDeviceCallbacks.cpp", ] diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index c4023b7e32d807..a3aa66f3fe1b42 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -34,7 +34,8 @@ #include #include #include -#include +#include +//#include #include #include @@ -71,7 +72,7 @@ static Button_Handle gButtonRightHandle; AppTask AppTask::sAppTask; -static AppDeviceCallbacks EchoCallbacks; +static CommonDeviceCallbacks EchoCallbacks; int AppTask::StartAppTask() { diff --git a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp index 4a7da815e5aa21..d7622d4f482fb5 100644 --- a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp +++ b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp @@ -64,6 +64,11 @@ CHIP_ERROR CHIPDeviceManager::Init(CHIPDeviceManagerCallbacks * cb) // Start a task to run the CHIP Device event loop. return PlatformMgr().StartEventLoopTask(); } + +void CHIPDeviceManagerCallbacks::DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg) {} + +CHIPDeviceManagerCallbacks::~CHIPDeviceManagerCallbacks() {} + } // namespace DeviceManager } // namespace chip diff --git a/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp b/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp new file mode 100644 index 00000000000000..eb26823a921549 --- /dev/null +++ b/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp @@ -0,0 +1,47 @@ +/* + * + * Copyright (c) 2020 Project CHIP Authors + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @file DeviceCallbacks.cpp + * + * Implements all the callbacks to the application from the CHIP Stack + * + **/ + +#include "DeviceCallbacks.h" +#include "AppConfig.h" +#include "BoltLockManager.h" + +#include +#include + +using namespace ::chip; +using namespace ::chip::Inet; +using namespace ::chip::System; +using namespace ::chip::DeviceLayer; + +void AppDeviceCallbacks::PostAttributeChangeCallback(EndpointId endpointId, ClusterId clusterId, AttributeId attributeId, + uint8_t type, uint16_t size, uint8_t * value) +{ + ; +} + +void AppDeviceCallbacks::OnOnOffPostAttributeChangeCallback(EndpointId endpointId, AttributeId attributeId, uint8_t * value) +{ + ; +} diff --git a/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h b/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h index a089ba91c8fa2e..dfc9153b95da1d 100644 --- a/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h +++ b/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h @@ -57,7 +57,23 @@ class DLL_EXPORT CHIPDeviceManagerCallbacks */ virtual void DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); - virtual ~CHIPDeviceManagerCallbacks() {} + // /** + // * @brief + // * Called after an attribute has been changed + // * + // * @param endpoint endpoint id + // * @param clusterID cluster id + // * @param attributeId attribute id that was changed + // * @param manufacturerCode manufacturer code + // * @param type attribute type + // * @param size size of the attribute + // * @param value pointer to the new value + // */ + // virtual void PostAttributeChangeCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, chip::AttributeId attributeId, + // uint8_t type, uint16_t size, uint8_t * value) + //{} + + virtual ~CHIPDeviceManagerCallbacks(); }; /** diff --git a/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h b/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h index 561cd6df406ecb..f0b6942cf0a9a9 100644 --- a/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h +++ b/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h @@ -23,7 +23,7 @@ class CommonDeviceCallbacks : public chip::DeviceManager::CHIPDeviceManagerCallbacks { public: - virtual void DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); + void DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); }; class DeviceCallbacksDelegate diff --git a/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h b/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h index 02824c0b092310..3fb2f19133a1d2 100644 --- a/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h +++ b/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h @@ -31,7 +31,13 @@ class AppDeviceCallbacks : public CommonDeviceCallbacks { +public: + virtual void PostAttributeChangeCallback(chip::EndpointId endpointId, chip::ClusterId clusterId, chip::AttributeId attributeId, + uint8_t type, uint16_t size, uint8_t * value); +private: + void OnOnOffPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value); + void OnIdentifyPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value); }; #endif // DEVICE_LOCK_CALLBACKS_H From 40fcba6eff0bba3b7e28330ee35b916f82742998 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Tue, 24 Jan 2023 16:14:56 -0600 Subject: [PATCH 18/40] removed DeviceCallbacks.cpp and .h and renamed CommonDeviceCallbacks.cpp and .h as DeviceCallbacks.cpp and .h --- examples/lock-app/cc32xx/BUILD.gn | 6 +-- examples/lock-app/cc32xx/main/AppTask.cpp | 5 +- .../cc32xx/main/CommonDeviceCallbacks.cpp | 47 ------------------- .../lock-app/cc32xx/main/DeviceCallbacks.cpp | 46 +++++++++--------- .../main/include/CommonDeviceCallbacks.h | 40 ---------------- .../cc32xx/main/include/DeviceCallbacks.h | 37 +++++++-------- 6 files changed, 44 insertions(+), 137 deletions(-) delete mode 100644 examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp delete mode 100644 examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index 3522df9a2c7b78..18d0c602b9f32f 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -86,10 +86,8 @@ ti_simplelink_executable("lock_app") { "${project_dir}/main/BoltLockManager.cpp", "${project_dir}/main/CXXExceptionStubs.cpp", "${project_dir}/main/ZclCallbacks.cpp", - # "${project_dir}/main/DeviceCallbacks.cpp", - "${project_dir}/main/CHIPDeviceManager.cpp", - "${project_dir}/main/CommonDeviceCallbacks.cpp", - ] + "${project_dir}/main/DeviceCallbacks.cpp", + "${project_dir}/main/CHIPDeviceManager.cpp", ] deps = [ ":lock_app_sdk", diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index a3aa66f3fe1b42..1122f88c4792fa 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -34,8 +34,7 @@ #include #include #include -#include -//#include +#include #include #include @@ -72,7 +71,7 @@ static Button_Handle gButtonRightHandle; AppTask AppTask::sAppTask; -static CommonDeviceCallbacks EchoCallbacks; +static DeviceCallbacks EchoCallbacks; int AppTask::StartAppTask() { diff --git a/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp b/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp deleted file mode 100644 index 9b2a9489e6fe49..00000000000000 --- a/examples/lock-app/cc32xx/main/CommonDeviceCallbacks.cpp +++ /dev/null @@ -1,47 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include "CommonDeviceCallbacks.h" -#include - -using namespace chip; -using namespace chip::DeviceLayer; -using namespace chip::System; - -DeviceCallbacksDelegate * appDelegate = nullptr; -extern "C" void cc32xxLog(const char * aFormat, ...); - -void CommonDeviceCallbacks::DeviceEventCallback(const ChipDeviceEvent * event, intptr_t arg) -{ - switch (event->Type) - { - case DeviceEventType::kInterfaceIpAddressChanged: - if ((event->InterfaceIpAddressChanged.Type == InterfaceIpChangeType::kIpV4_Assigned) || - (event->InterfaceIpAddressChanged.Type == InterfaceIpChangeType::kIpV6_Assigned)) - { - // MDNS server restart on any ip assignment: if link local ipv6 is configured, that - // will not trigger a 'internet connectivity change' as there is no internet - // connectivity. MDNS still wants to refresh its listening interfaces to include the - // newly selected address. - cc32xxLog("DeviceEventCallback:Start DNS Server"); - chip::app::DnssdServer::Instance().StartServer(); - } - } -} - - diff --git a/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp b/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp index eb26823a921549..2b9657752d24db 100644 --- a/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp +++ b/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp @@ -1,6 +1,6 @@ /* * - * Copyright (c) 2020 Project CHIP Authors + * Copyright (c) 2022 Project CHIP Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,32 +16,32 @@ * limitations under the License. */ -/** - * @file DeviceCallbacks.cpp - * - * Implements all the callbacks to the application from the CHIP Stack - * - **/ - #include "DeviceCallbacks.h" -#include "AppConfig.h" -#include "BoltLockManager.h" +#include -#include -#include +using namespace chip; +using namespace chip::DeviceLayer; +using namespace chip::System; -using namespace ::chip; -using namespace ::chip::Inet; -using namespace ::chip::System; -using namespace ::chip::DeviceLayer; +DeviceCallbacksDelegate * appDelegate = nullptr; +extern "C" void cc32xxLog(const char * aFormat, ...); -void AppDeviceCallbacks::PostAttributeChangeCallback(EndpointId endpointId, ClusterId clusterId, AttributeId attributeId, - uint8_t type, uint16_t size, uint8_t * value) +void DeviceCallbacks::DeviceEventCallback(const ChipDeviceEvent * event, intptr_t arg) { - ; + switch (event->Type) + { + case DeviceEventType::kInterfaceIpAddressChanged: + if ((event->InterfaceIpAddressChanged.Type == InterfaceIpChangeType::kIpV4_Assigned) || + (event->InterfaceIpAddressChanged.Type == InterfaceIpChangeType::kIpV6_Assigned)) + { + // MDNS server restart on any ip assignment: if link local ipv6 is configured, that + // will not trigger a 'internet connectivity change' as there is no internet + // connectivity. MDNS still wants to refresh its listening interfaces to include the + // newly selected address. + cc32xxLog("DeviceEventCallback:Start DNS Server"); + chip::app::DnssdServer::Instance().StartServer(); + } + } } -void AppDeviceCallbacks::OnOnOffPostAttributeChangeCallback(EndpointId endpointId, AttributeId attributeId, uint8_t * value) -{ - ; -} + diff --git a/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h b/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h deleted file mode 100644 index f0b6942cf0a9a9..00000000000000 --- a/examples/lock-app/cc32xx/main/include/CommonDeviceCallbacks.h +++ /dev/null @@ -1,40 +0,0 @@ -/* - * - * Copyright (c) 2022 Project CHIP Authors - * All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -#pragma once - -#include -#include - -class CommonDeviceCallbacks : public chip::DeviceManager::CHIPDeviceManagerCallbacks -{ -public: - void DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); -}; - -class DeviceCallbacksDelegate -{ -public: - static DeviceCallbacksDelegate & Instance() - { - static DeviceCallbacksDelegate instance; - return instance; - } - DeviceCallbacksDelegate * mDelegate = nullptr; - void SetAppDelegate(DeviceCallbacksDelegate * delegate) { mDelegate = delegate; } - DeviceCallbacksDelegate * GetAppDelegate() { return mDelegate; } -}; diff --git a/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h b/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h index 3fb2f19133a1d2..97031703ebcf1b 100644 --- a/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h +++ b/examples/lock-app/cc32xx/main/include/DeviceCallbacks.h @@ -1,6 +1,6 @@ /* * - * Copyright (c) 2020 Project CHIP Authors + * Copyright (c) 2022 Project CHIP Authors * All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -15,29 +15,26 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - -/** - * @file DeviceCallbacks.h - * - * Implementations for the DeviceManager callbacks for this application - * - **/ - -#ifndef DEVICE_LOCK_CALLBACKS_H -#define DEVICE_LOCK_CALLBACKS_H +#pragma once #include -#include +#include -class AppDeviceCallbacks : public CommonDeviceCallbacks +class DeviceCallbacks : public chip::DeviceManager::CHIPDeviceManagerCallbacks { public: - virtual void PostAttributeChangeCallback(chip::EndpointId endpointId, chip::ClusterId clusterId, chip::AttributeId attributeId, - uint8_t type, uint16_t size, uint8_t * value); - -private: - void OnOnOffPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value); - void OnIdentifyPostAttributeChangeCallback(chip::EndpointId endpointId, chip::AttributeId attributeId, uint8_t * value); + void DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); }; -#endif // DEVICE_LOCK_CALLBACKS_H +class DeviceCallbacksDelegate +{ +public: + static DeviceCallbacksDelegate & Instance() + { + static DeviceCallbacksDelegate instance; + return instance; + } + DeviceCallbacksDelegate * mDelegate = nullptr; + void SetAppDelegate(DeviceCallbacksDelegate * delegate) { mDelegate = delegate; } + DeviceCallbacksDelegate * GetAppDelegate() { return mDelegate; } +}; From 11db66bdd7b5e4af897777e4e647798acba1fafc Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Tue, 24 Jan 2023 21:23:23 -0600 Subject: [PATCH 19/40] merge conflict resolution on targets.py --- scripts/build/build/targets.py | 41 +++++++++------------------------- 1 file changed, 11 insertions(+), 30 deletions(-) diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 04e28fa37021b9..6894c476216d98 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -403,11 +403,17 @@ def Buildcc13x2x7_26x2x7Target(): return target -def cc32xxTargets(): - target = Target('cc32xx', cc32xxBuilder) - - yield target.Extend('lock', app=cc32xxApp.LOCK) +def Buildcc32xxTarget(): + target = BuildTarget('cc32xx', cc32xxBuilder) + # apps + target.AppendFixedTargets([ + TargetPart('lock', app=cc32xxApp.LOCK), + + ]) + + return target + def BuildCyw30739Target(): target = BuildTarget('cyw30739', Cyw30739Builder) # board @@ -498,31 +504,6 @@ def BuildBouffalolabTarget(): def BuildIMXTarget(): target = BuildTarget('imx', IMXBuilder) -<<<<<<< HEAD - yield target.Extend('all-clusters-app', app=MW320App.ALL_CLUSTERS) - - -ALL = [] - -target_generators = [ - HostTargets(), - Esp32Targets(), - Efr32Targets(), - NrfTargets(), - AndroidTargets(), - MbedTargets(), - InfineonTargets(), - AmebaTargets(), - K32WTargets(), - cc13x2x7_26x2x7Targets(), - cc32xxTargets(), - Cyw30739Targets(), - QorvoTargets(), - TizenTargets(), - Bl602Targets(), - IMXTargets(), - MW320Targets(), -======= target.AppendFixedTargets([ TargetPart('chip-tool', app=IMXApp.CHIP_TOOL), TargetPart('lighting-app', app=IMXApp.LIGHT), @@ -582,6 +563,7 @@ def BuildOpenIotSdkTargets(): BuildAndroidTarget(), BuildBouffalolabTarget(), Buildcc13x2x7_26x2x7Target(), + Buildcc32xxTarget(), BuildCyw30739Target(), BuildEfr32Target(), BuildEsp32Target(), @@ -600,5 +582,4 @@ def BuildOpenIotSdkTargets(): BuildTizenTarget(), BuildTelinkTarget(), BuildOpenIotSdkTargets(), ->>>>>>> 29d777f39dfe3c97cd8b010a7b827b1805cc9a47 ] From b8ec351c4eba8e7ac15be2d1163e8993aedd7a8a Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Tue, 24 Jan 2023 21:38:30 -0600 Subject: [PATCH 20/40] fixed build command for lock-app --- .github/workflows/examples-cc32xx.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/examples-cc32xx.yaml b/.github/workflows/examples-cc32xx.yaml index e783299b0e8fa3..9c5f4cf5385f60 100644 --- a/.github/workflows/examples-cc32xx.yaml +++ b/.github/workflows/examples-cc32xx.yaml @@ -68,7 +68,8 @@ jobs: timeout-minutes: 60 run: | scripts/run_in_build_env.sh "\ - ./scripts/build/build_examples.py --target-glob cc32xx* build \ + ./scripts/build/build_examples.py \ + --target cc32xx-lock build \ --copy-artifacts-to out/artifacts \ " - name: Get lock app size stats From fd50e942e51b173b5bfb7bcdfb54c1af9d2c655b Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Wed, 25 Jan 2023 13:05:18 -0600 Subject: [PATCH 21/40] added missing header in CC32XXConfig.cpp and corrected header in AppTask.cpp --- examples/lock-app/cc32xx/main/AppTask.cpp | 2 +- src/platform/cc32xx/CC32XXConfig.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index 8756328d07d172..3b7f14b0900c2f 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -21,7 +21,7 @@ #include "AppConfig.h" #include "AppEvent.h" #include -#include +#include #include #include diff --git a/src/platform/cc32xx/CC32XXConfig.cpp b/src/platform/cc32xx/CC32XXConfig.cpp index db570f732cd503..e31b6293a2758d 100644 --- a/src/platform/cc32xx/CC32XXConfig.cpp +++ b/src/platform/cc32xx/CC32XXConfig.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include From 49fee84c91e00e2a7d233eae35b1e41e0bab0868 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Wed, 25 Jan 2023 16:55:40 -0600 Subject: [PATCH 22/40] updated cc32xx yaml file to have the correct docker img version --- .github/workflows/examples-cc32xx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/examples-cc32xx.yaml b/.github/workflows/examples-cc32xx.yaml index 9c5f4cf5385f60..1c6cb6fcdcaf7e 100644 --- a/.github/workflows/examples-cc32xx.yaml +++ b/.github/workflows/examples-cc32xx.yaml @@ -34,7 +34,7 @@ jobs: if: github.actor != 'restyled-io[bot]' container: - image: connectedhomeip/chip-build-ti:0.5.91 + image: connectedhomeip/chip-build-ti:0.6.34 volumes: - "/tmp/bloat_reports:/tmp/bloat_reports" steps: From e64f4a12b35df3728e0c34d85b9d780b72fdcec4 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Thu, 26 Jan 2023 13:23:19 -0600 Subject: [PATCH 23/40] removed StartEventLoop Task so that CHIPDeviceManager can start it --- examples/lock-app/cc32xx/main/AppTask.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index 3b7f14b0900c2f..9905b8b234c8cb 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -144,14 +144,14 @@ int AppTask::Init() while (true) ; } - PLAT_LOG("Start Event Loop Task"); - ret = PlatformMgr().StartEventLoopTask(); - if (ret != CHIP_NO_ERROR) - { - PLAT_LOG("PlatformMgr().StartEventLoopTask() failed"); - while (true) - ; - } + // PLAT_LOG("Start Event Loop Task"); + // ret = PlatformMgr().StartEventLoopTask(); + // if (ret != CHIP_NO_ERROR) + // { + // PLAT_LOG("PlatformMgr().StartEventLoopTask() failed"); + // while (true) + // ; + // } // Init ZCL Data Model and start server PLAT_LOG("Initialize Server"); From 07c24d104748e028aab3d6a82af550bc2a99f791 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Fri, 27 Jan 2023 14:50:07 -0600 Subject: [PATCH 24/40] added CC32xx DAC certs and code cleanup --- examples/lock-app/cc32xx/BUILD.gn | 1 + examples/lock-app/cc32xx/main/AppTask.cpp | 21 +- examples/platform/cc32xx/BUILD.gn | 27 +- .../cc32xx/CC32XXDeviceAttestationCreds.cpp | 420 ++++++++++++++++++ .../cc32xx/CC32XXDeviceAttestationCreds.h | 36 ++ src/platform/cc32xx/CC32XXConfig.cpp | 2 +- 6 files changed, 490 insertions(+), 17 deletions(-) create mode 100644 examples/platform/cc32xx/CC32XXDeviceAttestationCreds.cpp create mode 100644 examples/platform/cc32xx/CC32XXDeviceAttestationCreds.h diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index 18d0c602b9f32f..aeab088034e464 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -93,6 +93,7 @@ ti_simplelink_executable("lock_app") { ":lock_app_sdk", ":sdk", ":sysconfig", + "${chip_root}/examples/platform/cc32xx:cc32xx-attestation-credentials", "${chip_root}/examples/lock-app/lock-common", "${chip_root}/src/lib", "${chip_root}/src/setup_payload", diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index 9905b8b234c8cb..86d002cf862f82 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -29,6 +29,7 @@ #include #include +#include #include #include @@ -96,6 +97,10 @@ int AppTask::StartAppTask() return ret; } +extern "C" { + bool gClearKVS = false; +} + int AppTask::Init() { CHIP_ERROR ret; @@ -133,6 +138,8 @@ int AppTask::Init() gButtonRightHandle = Button_open(CONFIG_BTN_RIGHT, &buttonParams); Button_setCallback(gButtonRightHandle, ButtonRightEventHandler); + gClearKVS = GPIO_read(CONFIG_GPIO_BTN_RIGHT_INPUT); + PLAT_LOG("Initialize Wi-Fi"); WiFi_init(); @@ -144,14 +151,6 @@ int AppTask::Init() while (true) ; } - // PLAT_LOG("Start Event Loop Task"); - // ret = PlatformMgr().StartEventLoopTask(); - // if (ret != CHIP_NO_ERROR) - // { - // PLAT_LOG("PlatformMgr().StartEventLoopTask() failed"); - // while (true) - // ; - // } // Init ZCL Data Model and start server PLAT_LOG("Initialize Server"); @@ -161,7 +160,12 @@ int AppTask::Init() // Initialize device attestation config PLAT_LOG("Initialize device attestation config"); +#ifdef CC32XX_ATTESTATION_CREDENTIALS + SetDeviceAttestationCredentialsProvider(CC32XX::GetCC32XXDacProvider()); +#else + SetDeviceAttestationCredentialsProvider(Examples::GetExampleDACProvider()); +#endif // Initialize BoltLock module PLAT_LOG("Initialize BoltLock"); @@ -175,6 +179,7 @@ int AppTask::Init() PLAT_LOG("Print Onboarding Codes"); PrintOnboardingCodes(chip::RendezvousInformationFlags(chip::RendezvousInformationFlag::kOnNetwork)); + PLAT_LOG("Start CHIPDeviceManager and Start Event Loop Task"); CHIPDeviceManager & deviceMgr = CHIPDeviceManager::GetInstance(); ret = deviceMgr.Init(&EchoCallbacks); if (ret != CHIP_NO_ERROR) diff --git a/examples/platform/cc32xx/BUILD.gn b/examples/platform/cc32xx/BUILD.gn index 25a221444b700e..a09bcb45de021a 100644 --- a/examples/platform/cc32xx/BUILD.gn +++ b/examples/platform/cc32xx/BUILD.gn @@ -18,11 +18,22 @@ config("chip_examples_project_config") { include_dirs = [ "project_include" ] } -#static_library("cc32xx_common"){ -# sources = [ -# "CHIPDeviceManager.cpp", -# "CHIPDeviceManager.h", -# "CommonDeviceCallbacks.cpp", -# "CommonDeviceCallbacks.h", -# ] -#} +config("attestation-credentials-config") { + include_dirs = [ "${chip_root}" ] + + defines = [ "CC32XX_ATTESTATION_CREDENTIALS" ] +} + +source_set("cc32xx-attestation-credentials") { + sources = [ + "CC32XXDeviceAttestationCreds.cpp", + "CC32XXDeviceAttestationCreds.h", + ] + + public_deps = [ + "${chip_root}/src/credentials", + "${chip_root}/src/platform:platform_base", + ] + + public_configs = [ ":attestation-credentials-config" ] +} \ No newline at end of file diff --git a/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.cpp b/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.cpp new file mode 100644 index 00000000000000..28afd9c040ae13 --- /dev/null +++ b/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.cpp @@ -0,0 +1,420 @@ +/* + * + * Copyright (c) 2022 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#include "CC32XXDeviceAttestationCreds.h" +#include +#include +#include +#include +#include +#include + +extern uint32_t __attestation_credentials_base; + +namespace chip { +namespace Credentials { +namespace CC32XX { + +namespace { + +extern "C" { + +typedef struct { + const uint32_t len; + uint8_t const * data; +} data_ptr; + +typedef struct { + data_ptr dac_priv_key; + data_ptr dac_pub_key; + data_ptr dac_cert; + data_ptr pai_cert; +} factoryData; + +#define LOCK 1 + +#if LOCK +#if 0 +const uint8_t gDacPrivKey[] = { + 0x50, 0x5a, 0x21, 0x1d, 0xbd, 0xa8, 0x71, 0x33, 0x0d, 0x63, 0x5d, 0xa3, 0xb0, 0x7e, 0xb1, + 0xc5, 0x08, 0x8a, 0x8f, 0xc7, 0x01, 0x24, 0xfb, 0xb3, 0x3e, 0x93, 0xd5, 0x06, 0x05, 0x82, + 0xc7, 0xc5, +}; +const uint8_t gDacPubKey[] = { + 0x04, 0xc5, 0x65, 0xfd, 0xad, 0xfd, 0x16, 0xdd, 0x62, 0xe4, 0x3f, 0x19, 0x60, 0xb9, 0x93, + 0xbb, 0x57, 0x2c, 0xfd, 0xd8, 0x1f, 0x6d, 0x71, 0x67, 0x67, 0x1b, 0x77, 0x45, 0xdc, 0xbe, + 0x6f, 0x65, 0xaf, 0x66, 0x5a, 0x1d, 0x93, 0x1c, 0x05, 0xb9, 0xf9, 0xa3, 0xe9, 0x45, 0x66, + 0x85, 0x60, 0x2c, 0x05, 0xc6, 0x96, 0x46, 0xb8, 0xf7, 0x59, 0x98, 0xdb, 0xaa, 0x68, 0x7a, + 0x5c, 0x56, 0x49, 0x02, 0xda, +}; +const uint8_t gDacCert[] = { + 0x30, 0x82, 0x01, 0xf7, 0x30, 0x82, 0x01, 0x9d, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x46, + 0x88, 0xeb, 0x94, 0xad, 0x32, 0xb2, 0xe4, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x30, 0x4d, 0x31, 0x1f, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x16, + 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, 0x65, + 0x6e, 0x74, 0x20, 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, + 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, + 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, + 0x30, 0x36, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, 0x34, 0x32, 0x33, + 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, + 0x39, 0x35, 0x39, 0x5a, 0x30, 0x52, 0x31, 0x24, 0x30, 0x22, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, + 0x1b, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, + 0x65, 0x6e, 0x74, 0x20, 0x44, 0x41, 0x43, 0x20, 0x30, 0x30, 0x30, 0x30, 0x31, 0x14, 0x30, 0x12, + 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, + 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, + 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x36, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0xc5, 0x65, 0xfd, 0xad, 0xfd, 0x16, 0xdd, 0x62, 0xe4, 0x3f, 0x19, 0x60, 0xb9, + 0x93, 0xbb, 0x57, 0x2c, 0xfd, 0xd8, 0x1f, 0x6d, 0x71, 0x67, 0x67, 0x1b, 0x77, 0x45, 0xdc, 0xbe, + 0x6f, 0x65, 0xaf, 0x66, 0x5a, 0x1d, 0x93, 0x1c, 0x05, 0xb9, 0xf9, 0xa3, 0xe9, 0x45, 0x66, 0x85, + 0x60, 0x2c, 0x05, 0xc6, 0x96, 0x46, 0xb8, 0xf7, 0x59, 0x98, 0xdb, 0xaa, 0x68, 0x7a, 0x5c, 0x56, + 0x49, 0x02, 0xda, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, + 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, + 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, + 0x9b, 0x40, 0x60, 0x6f, 0x9e, 0x04, 0x7f, 0xb8, 0x60, 0x78, 0x8e, 0x3d, 0xc1, 0x12, 0xd7, 0x5e, + 0x87, 0x95, 0x77, 0x68, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, + 0x14, 0x43, 0x34, 0x57, 0x12, 0xba, 0x2c, 0x87, 0xef, 0x25, 0x49, 0x7b, 0x11, 0xd7, 0x98, 0x58, + 0x9b, 0x84, 0x35, 0x7f, 0x88, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, + 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xb9, 0x28, 0xf9, 0x3e, 0xe3, 0x87, 0xef, + 0x3e, 0x00, 0x72, 0x88, 0x22, 0x84, 0xbd, 0x8a, 0xdd, 0x5c, 0xd6, 0xd0, 0x55, 0x81, 0xbf, 0xcc, + 0x55, 0x17, 0xcf, 0x9e, 0x9b, 0xcd, 0xd4, 0x37, 0xda, 0x02, 0x20, 0x10, 0x07, 0x9c, 0xcf, 0x7f, + 0x1f, 0x2d, 0xda, 0x46, 0xac, 0xe9, 0x67, 0xae, 0x5b, 0xe9, 0x66, 0xe7, 0xf2, 0x8a, 0xdf, 0xa0, + 0x28, 0xb8, 0xf8, 0x7f, 0x93, 0x9e, 0xd4, 0x15, 0x8d, 0xc0, 0xf8, +}; +#else +const uint8_t gDacPrivKey[] = { + 0x56, 0xdd, 0xea, 0x13, 0x80, 0xa1, 0x0f, 0x7e, 0x3d, 0xe0, 0xf2, 0xc5, 0x26, 0x1d, 0xb9, + 0x98, 0x72, 0xf0, 0xc1, 0x6c, 0x6e, 0x03, 0x2f, 0xc8, 0x01, 0x20, 0xe1, 0xcc, 0x20, 0x8f, + 0x5f, 0x71, +}; +const uint8_t gDacPubKey[] = { + 0x04, 0x9d, 0x29, 0xc0, 0x89, 0x0d, 0x45, 0x5a, 0xfa, 0xfc, 0x57, 0x0a, 0x07, 0x17, 0xf8, + 0xf6, 0xe0, 0xc8, 0x3b, 0x5c, 0xff, 0x73, 0xe1, 0xd0, 0x0a, 0xfc, 0x65, 0x76, 0x84, 0x41, + 0x78, 0xf7, 0xcf, 0x49, 0x22, 0x42, 0x64, 0xb8, 0x17, 0x0d, 0x00, 0xcf, 0x9d, 0x15, 0x07, + 0x55, 0x56, 0xe8, 0x42, 0xbe, 0xf9, 0xd8, 0x37, 0x76, 0x64, 0xb2, 0xc8, 0x45, 0x29, 0xba, + 0x11, 0xdd, 0xb3, 0x5f, 0x19, +}; +const uint8_t gDacCert[] = { + 0x30, 0x82, 0x01, 0xf7, 0x30, 0x82, 0x01, 0x9d, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x72, + 0xbe, 0xbd, 0xfe, 0x0f, 0xa8, 0x6f, 0x61, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x30, 0x4d, 0x31, 0x1f, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x16, + 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, 0x65, + 0x6e, 0x74, 0x20, 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, + 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, + 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, + 0x30, 0x36, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, 0x34, 0x32, 0x33, + 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, + 0x39, 0x35, 0x39, 0x5a, 0x30, 0x52, 0x31, 0x24, 0x30, 0x22, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, + 0x1b, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, + 0x65, 0x6e, 0x74, 0x20, 0x44, 0x41, 0x43, 0x20, 0x30, 0x30, 0x30, 0x31, 0x31, 0x14, 0x30, 0x12, + 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, + 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, + 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x36, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, + 0x42, 0x00, 0x04, 0x9d, 0x29, 0xc0, 0x89, 0x0d, 0x45, 0x5a, 0xfa, 0xfc, 0x57, 0x0a, 0x07, 0x17, + 0xf8, 0xf6, 0xe0, 0xc8, 0x3b, 0x5c, 0xff, 0x73, 0xe1, 0xd0, 0x0a, 0xfc, 0x65, 0x76, 0x84, 0x41, + 0x78, 0xf7, 0xcf, 0x49, 0x22, 0x42, 0x64, 0xb8, 0x17, 0x0d, 0x00, 0xcf, 0x9d, 0x15, 0x07, 0x55, + 0x56, 0xe8, 0x42, 0xbe, 0xf9, 0xd8, 0x37, 0x76, 0x64, 0xb2, 0xc8, 0x45, 0x29, 0xba, 0x11, 0xdd, + 0xb3, 0x5f, 0x19, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, + 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, + 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, + 0x03, 0xcc, 0x51, 0xfb, 0x25, 0x7c, 0x95, 0x0b, 0xbd, 0x62, 0x20, 0xd6, 0xc1, 0xde, 0xdf, 0xa5, + 0x22, 0x78, 0x44, 0xfb, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, + 0x14, 0x43, 0x34, 0x57, 0x12, 0xba, 0x2c, 0x87, 0xef, 0x25, 0x49, 0x7b, 0x11, 0xd7, 0x98, 0x58, + 0x9b, 0x84, 0x35, 0x7f, 0x88, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, + 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xe3, 0xe0, 0x39, 0xef, 0x41, 0xe3, 0x8f, + 0x58, 0xf0, 0xe4, 0x37, 0x00, 0xdf, 0x45, 0x9a, 0xe4, 0xb8, 0xf1, 0xb9, 0x70, 0x30, 0x0c, 0xca, + 0x43, 0x2a, 0x49, 0xd0, 0x50, 0xf0, 0xa3, 0x74, 0x65, 0x02, 0x20, 0x1c, 0x17, 0x8b, 0x93, 0xe9, + 0xea, 0xb1, 0x7a, 0xda, 0xe5, 0xe9, 0x95, 0x6f, 0xa2, 0xdc, 0x97, 0xcf, 0x21, 0x07, 0x81, 0x47, + 0xf6, 0x75, 0x2c, 0x1f, 0x9d, 0xa5, 0xcb, 0xa4, 0xaf, 0x98, 0x60, +}; +#endif +const uint8_t gPaiCert[] = { + 0x30, 0x82, 0x01, 0xdc, 0x30, 0x82, 0x01, 0x81, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x7f, + 0x7e, 0xf3, 0xdb, 0x08, 0xa3, 0x8f, 0x68, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0f, + 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, + 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, + 0x04, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, + 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, + 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x4d, 0x31, 0x1f, 0x30, 0x1d, 0x06, 0x03, 0x55, + 0x04, 0x03, 0x0c, 0x16, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, + 0x6f, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, + 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, + 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, + 0x0c, 0x04, 0x38, 0x30, 0x30, 0x36, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, + 0x04, 0x42, 0x93, 0x55, 0x77, 0x35, 0x35, 0x15, 0xce, 0xfa, 0x8f, 0x0e, 0x30, 0xe2, 0x34, 0x7e, + 0x90, 0xee, 0xd6, 0xfd, 0x51, 0x5b, 0xe8, 0x82, 0xd1, 0xbc, 0xba, 0x74, 0x83, 0xd7, 0xff, 0x6e, + 0xf4, 0xde, 0xdf, 0x98, 0xf7, 0xf7, 0x4f, 0x17, 0x42, 0x1d, 0xe5, 0x45, 0x0c, 0xff, 0xfb, 0x3e, + 0x7f, 0x6d, 0x4f, 0x62, 0x28, 0x53, 0x41, 0x14, 0xfb, 0xb8, 0x5c, 0x2d, 0x52, 0xd1, 0x82, 0xb6, + 0x6a, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, + 0x08, 0x30, 0x06, 0x01, 0x01, 0xff, 0x02, 0x01, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, + 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, + 0x04, 0x16, 0x04, 0x14, 0x43, 0x34, 0x57, 0x12, 0xba, 0x2c, 0x87, 0xef, 0x25, 0x49, 0x7b, 0x11, + 0xd7, 0x98, 0x58, 0x9b, 0x84, 0x35, 0x7f, 0x88, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, + 0x18, 0x30, 0x16, 0x80, 0x14, 0x6a, 0xfd, 0x22, 0x77, 0x1f, 0x51, 0x1f, 0xec, 0xbf, 0x16, 0x41, + 0x97, 0x67, 0x10, 0xdc, 0xdc, 0x31, 0xa1, 0x71, 0x7e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, + 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0xff, 0x25, 0xf1, + 0xd1, 0x54, 0xc3, 0x13, 0x7e, 0x0e, 0x08, 0x6d, 0x82, 0xab, 0x0b, 0x11, 0xb5, 0x66, 0x18, 0x39, + 0xb7, 0x12, 0xb1, 0x34, 0x2c, 0x6c, 0xde, 0x94, 0xfb, 0xe3, 0x18, 0xa9, 0x2b, 0x02, 0x21, 0x00, + 0x92, 0xe2, 0x81, 0xf9, 0x8a, 0x2f, 0xcc, 0x14, 0xcd, 0xf4, 0x07, 0x50, 0xd2, 0x80, 0xd7, 0xdf, + 0xea, 0x3f, 0x4d, 0xa4, 0x6f, 0x35, 0x7a, 0xfe, 0xac, 0xb8, 0x9b, 0x26, 0x77, 0x06, 0xd2, 0x8a, +}; + +#else +// pump +#if 0 +const uint8_t gDacPrivKey[] = { + 0x9c, 0x7c, 0x36, 0x37, 0x2f, 0x39, 0xe0, 0x6b, 0xf3, 0xbc, 0x6e, 0xc9, 0x11, 0xa1, 0x7f, + 0x38, 0x17, 0xa6, 0xff, 0x37, 0x08, 0xd7, 0x09, 0xd6, 0x32, 0x95, 0x3b, 0x24, 0xa0, 0xf7, + 0x7a, 0x9d, +}; +const uint8_t gDacPubKey[] = { + 0x04, 0x74, 0x60, 0x3f, 0xea, 0x01, 0xb3, 0x90, 0xf4, 0xad, 0xd4, 0x9f, 0xec, 0xc5, 0x20, + 0x20, 0xd2, 0x9f, 0x57, 0x7f, 0xe9, 0xc5, 0x53, 0x6d, 0x1f, 0x4b, 0x72, 0x37, 0xf5, 0xd8, + 0xff, 0x90, 0xff, 0xe8, 0x4e, 0x58, 0x4a, 0xd4, 0xde, 0x7f, 0x17, 0x9a, 0x52, 0x9a, 0xe9, + 0x12, 0x92, 0x51, 0x2c, 0x75, 0xd3, 0x25, 0xa9, 0x9e, 0x80, 0x56, 0x2d, 0x32, 0x1a, 0x36, + 0x6c, 0x9f, 0xfa, 0xe5, 0xd2, +}; +const uint8_t gDacCert[] = { + 0x30, 0x82, 0x01, 0xe9, 0x30, 0x82, 0x01, 0x8f, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x1c, + 0x45, 0x43, 0xa7, 0x37, 0x62, 0x09, 0x7c, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x30, 0x46, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0f, + 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x49, 0x31, + 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, + 0x04, 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, + 0x82, 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x41, 0x30, 0x20, 0x17, 0x0d, 0x32, + 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, + 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x4b, 0x31, + 0x1d, 0x30, 0x1b, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x14, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, + 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x44, 0x41, 0x43, 0x20, 0x30, 0x30, 0x30, 0x30, 0x31, 0x14, + 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, + 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, + 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x41, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, + 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, + 0x07, 0x03, 0x42, 0x00, 0x04, 0x74, 0x60, 0x3f, 0xea, 0x01, 0xb3, 0x90, 0xf4, 0xad, 0xd4, 0x9f, + 0xec, 0xc5, 0x20, 0x20, 0xd2, 0x9f, 0x57, 0x7f, 0xe9, 0xc5, 0x53, 0x6d, 0x1f, 0x4b, 0x72, 0x37, + 0xf5, 0xd8, 0xff, 0x90, 0xff, 0xe8, 0x4e, 0x58, 0x4a, 0xd4, 0xde, 0x7f, 0x17, 0x9a, 0x52, 0x9a, + 0xe9, 0x12, 0x92, 0x51, 0x2c, 0x75, 0xd3, 0x25, 0xa9, 0x9e, 0x80, 0x56, 0x2d, 0x32, 0x1a, 0x36, + 0x6c, 0x9f, 0xfa, 0xe5, 0xd2, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, + 0x01, 0x01, 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, + 0x04, 0x14, 0x12, 0x93, 0x39, 0xe3, 0xf4, 0x9b, 0xf6, 0x6e, 0x99, 0xb1, 0xef, 0xec, 0xad, 0xef, + 0x70, 0x73, 0x82, 0x93, 0xe1, 0x88, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, + 0x16, 0x80, 0x14, 0x64, 0xc1, 0x61, 0x97, 0xcb, 0xea, 0x15, 0xb9, 0x4d, 0xb4, 0xb0, 0x49, 0x2f, + 0x66, 0xce, 0x6a, 0x50, 0xaa, 0x51, 0x6a, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xcd, 0x9d, 0xf2, 0x87, 0x89, + 0xd9, 0xfc, 0x3b, 0x70, 0x6c, 0xf0, 0x0e, 0xe0, 0x1c, 0xcb, 0x3c, 0x05, 0x90, 0x5e, 0xdb, 0xc3, + 0xda, 0xb3, 0x7e, 0x9d, 0x88, 0x57, 0xc3, 0x31, 0xb6, 0x95, 0x3c, 0x02, 0x20, 0x29, 0x75, 0x05, + 0x54, 0xdb, 0xba, 0xcb, 0xfa, 0xd2, 0xd1, 0xb2, 0x91, 0xda, 0x2b, 0x72, 0xdf, 0x84, 0xc1, 0xe9, + 0x3a, 0xf0, 0xb5, 0x78, 0xdc, 0x90, 0x14, 0xb7, 0x27, 0x97, 0xfd, 0xc4, 0x29, +}; +#else +const uint8_t gDacPrivKey[] = { +}; +const uint8_t gDacPubKey[] = { +}; +const uint8_t gDacCert[] = { +}; +#endif +const uint8_t gPaiCert[] = { + 0x30, 0x82, 0x01, 0xd4, 0x30, 0x82, 0x01, 0x7a, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x66, + 0xd2, 0xa2, 0xc8, 0xa1, 0x41, 0x29, 0xd3, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x04, 0x03, 0x02, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0f, + 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, + 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, + 0x04, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, + 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, + 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x46, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, + 0x04, 0x03, 0x0c, 0x0f, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, + 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, + 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x41, 0x30, + 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x09, 0x2c, 0x43, 0x97, 0xbe, 0x8f, + 0xb7, 0xea, 0x29, 0xd9, 0x7c, 0x82, 0x94, 0x42, 0xd6, 0x5a, 0x70, 0x33, 0x96, 0xee, 0xc4, 0xba, + 0xc1, 0xc6, 0xd4, 0xd4, 0x25, 0x0e, 0xbc, 0x7d, 0xc4, 0x86, 0xb7, 0xe1, 0xc0, 0x4a, 0xb9, 0x28, + 0x79, 0x80, 0x9e, 0x20, 0x1b, 0x41, 0x85, 0x7e, 0xc3, 0xec, 0x0d, 0x39, 0xa0, 0x46, 0xc5, 0xf5, + 0xf8, 0x81, 0x52, 0x56, 0x84, 0xbb, 0x6c, 0x47, 0xed, 0x00, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, + 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x08, 0x30, 0x06, 0x01, 0x01, 0xff, 0x02, + 0x01, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, + 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x64, 0xc1, 0x61, + 0x97, 0xcb, 0xea, 0x15, 0xb9, 0x4d, 0xb4, 0xb0, 0x49, 0x2f, 0x66, 0xce, 0x6a, 0x50, 0xaa, 0x51, + 0x6a, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x6a, 0xfd, + 0x22, 0x77, 0x1f, 0x51, 0x1f, 0xec, 0xbf, 0x16, 0x41, 0x97, 0x67, 0x10, 0xdc, 0xdc, 0x31, 0xa1, + 0x71, 0x7e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, + 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0x94, 0xc3, 0xfa, 0x48, 0xb3, 0xd0, 0x5d, 0x8c, 0x6a, 0x83, + 0x5e, 0xe2, 0x13, 0xf5, 0xda, 0xb0, 0x93, 0x07, 0xb3, 0xd2, 0x17, 0x7d, 0x5a, 0x4d, 0xfb, 0xf9, + 0xef, 0xc5, 0xe0, 0x29, 0xbb, 0xad, 0x02, 0x20, 0x59, 0x29, 0xb2, 0x32, 0xa1, 0x37, 0x56, 0xa4, + 0xca, 0xda, 0x66, 0x7f, 0x42, 0x49, 0xfd, 0x82, 0x10, 0xec, 0xd3, 0x99, 0x0e, 0x89, 0x9d, 0x52, + 0x4a, 0x78, 0x4c, 0x82, 0x5c, 0xdd, 0x72, 0x5e, +}; + +#endif + +const factoryData gFactoryData = { + .dac_priv_key = { + .len = sizeof(gDacPrivKey), + .data = gDacPrivKey, + }, + .dac_pub_key = { + .len = sizeof(gDacPubKey), + .data = gDacPubKey, + }, + .dac_cert = { + .len = sizeof(gDacCert), + .data = gDacCert, + }, + .pai_cert = { + .len = sizeof(gPaiCert), + .data = gPaiCert, + }, +}; + +} // extern "C" + +// TODO: This should be moved to a method of P256Keypair +CHIP_ERROR LoadKeypairFromRaw(ByteSpan private_key, ByteSpan public_key, Crypto::P256Keypair & keypair) +{ + Crypto::P256SerializedKeypair serialized_keypair; + ReturnErrorOnFailure(serialized_keypair.SetLength(private_key.size() + public_key.size())); + memcpy(serialized_keypair.Bytes(), public_key.data(), public_key.size()); + memcpy(serialized_keypair.Bytes() + public_key.size(), private_key.data(), private_key.size()); + return keypair.Deserialize(serialized_keypair); +} + +class DeviceAttestationCredsCC32XX : public DeviceAttestationCredentialsProvider +{ + +public: + CHIP_ERROR GetCertificationDeclaration(MutableByteSpan & out_buffer) override; + CHIP_ERROR GetFirmwareInformation(MutableByteSpan & out_firmware_info_buffer) override; + CHIP_ERROR GetDeviceAttestationCert(MutableByteSpan & out_buffer) override; + CHIP_ERROR GetProductAttestationIntermediateCert(MutableByteSpan & out_buffer) override; + CHIP_ERROR SignWithDeviceAttestationKey(const ByteSpan & message_to_sign, MutableByteSpan & out_buffer) override; + +private: + factoryData const *mFactoryData = &gFactoryData; +}; + +CHIP_ERROR DeviceAttestationCredsCC32XX::GetCertificationDeclaration(MutableByteSpan & out_buffer) +{ + //-> format_version = 1 + //-> vendor_id = 0xFFF1 + //-> product_id_array = [ 0x8000, 0x8001, 0x8002, 0x8003, 0x8004, 0x8005, 0x8006, 0x8007, 0x8008, 0x8009, 0x800A, 0x800B, + // 0x800C, 0x800D, 0x800E, 0x800F, 0x8010, 0x8011, 0x8012, 0x8013, 0x8014, 0x8015, 0x8016, 0x8017, 0x8018, 0x8019, 0x801A, + // 0x801B, 0x801C, 0x801D, 0x801E, 0x801F, 0x8020, 0x8021, 0x8022, 0x8023, 0x8024, 0x8025, 0x8026, 0x8027, 0x8028, 0x8029, + // 0x802A, 0x802B, 0x802C, 0x802D, 0x802E, 0x802F, 0x8030, 0x8031, 0x8032, 0x8033, 0x8034, 0x8035, 0x8036, 0x8037, 0x8038, + // 0x8039, 0x803A, 0x803B, 0x803C, 0x803D, 0x803E, 0x803F, 0x8040, 0x8041, 0x8042, 0x8043, 0x8044, 0x8045, 0x8046, 0x8047, + // 0x8048, 0x8049, 0x804A, 0x804B, 0x804C, 0x804D, 0x804E, 0x804F, 0x8050, 0x8051, 0x8052, 0x8053, 0x8054, 0x8055, 0x8056, + // 0x8057, 0x8058, 0x8059, 0x805A, 0x805B, 0x805C, 0x805D, 0x805E, 0x805F, 0x8060, 0x8061, 0x8062, 0x8063 ] + //-> device_type_id = 0x0016 + //-> certificate_id = "ZIG20142ZB330003-24" + //-> security_level = 0 + //-> security_information = 0 + //-> version_number = 0x2694 + //-> certification_type = 0 + //-> dac_origin_vendor_id is not present + //-> dac_origin_product_id is not present + const uint8_t kCdForAllExamples[] = { + 0x30, 0x82, 0x02, 0x19, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x07, 0x02, 0xa0, 0x82, 0x02, 0x0a, 0x30, + 0x82, 0x02, 0x06, 0x02, 0x01, 0x03, 0x31, 0x0d, 0x30, 0x0b, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, + 0x01, 0x30, 0x82, 0x01, 0x71, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x07, 0x01, 0xa0, 0x82, 0x01, 0x62, + 0x04, 0x82, 0x01, 0x5e, 0x15, 0x24, 0x00, 0x01, 0x25, 0x01, 0xf1, 0xff, 0x36, 0x02, 0x05, 0x00, 0x80, 0x05, 0x01, 0x80, + 0x05, 0x02, 0x80, 0x05, 0x03, 0x80, 0x05, 0x04, 0x80, 0x05, 0x05, 0x80, 0x05, 0x06, 0x80, 0x05, 0x07, 0x80, 0x05, 0x08, + 0x80, 0x05, 0x09, 0x80, 0x05, 0x0a, 0x80, 0x05, 0x0b, 0x80, 0x05, 0x0c, 0x80, 0x05, 0x0d, 0x80, 0x05, 0x0e, 0x80, 0x05, + 0x0f, 0x80, 0x05, 0x10, 0x80, 0x05, 0x11, 0x80, 0x05, 0x12, 0x80, 0x05, 0x13, 0x80, 0x05, 0x14, 0x80, 0x05, 0x15, 0x80, + 0x05, 0x16, 0x80, 0x05, 0x17, 0x80, 0x05, 0x18, 0x80, 0x05, 0x19, 0x80, 0x05, 0x1a, 0x80, 0x05, 0x1b, 0x80, 0x05, 0x1c, + 0x80, 0x05, 0x1d, 0x80, 0x05, 0x1e, 0x80, 0x05, 0x1f, 0x80, 0x05, 0x20, 0x80, 0x05, 0x21, 0x80, 0x05, 0x22, 0x80, 0x05, + 0x23, 0x80, 0x05, 0x24, 0x80, 0x05, 0x25, 0x80, 0x05, 0x26, 0x80, 0x05, 0x27, 0x80, 0x05, 0x28, 0x80, 0x05, 0x29, 0x80, + 0x05, 0x2a, 0x80, 0x05, 0x2b, 0x80, 0x05, 0x2c, 0x80, 0x05, 0x2d, 0x80, 0x05, 0x2e, 0x80, 0x05, 0x2f, 0x80, 0x05, 0x30, + 0x80, 0x05, 0x31, 0x80, 0x05, 0x32, 0x80, 0x05, 0x33, 0x80, 0x05, 0x34, 0x80, 0x05, 0x35, 0x80, 0x05, 0x36, 0x80, 0x05, + 0x37, 0x80, 0x05, 0x38, 0x80, 0x05, 0x39, 0x80, 0x05, 0x3a, 0x80, 0x05, 0x3b, 0x80, 0x05, 0x3c, 0x80, 0x05, 0x3d, 0x80, + 0x05, 0x3e, 0x80, 0x05, 0x3f, 0x80, 0x05, 0x40, 0x80, 0x05, 0x41, 0x80, 0x05, 0x42, 0x80, 0x05, 0x43, 0x80, 0x05, 0x44, + 0x80, 0x05, 0x45, 0x80, 0x05, 0x46, 0x80, 0x05, 0x47, 0x80, 0x05, 0x48, 0x80, 0x05, 0x49, 0x80, 0x05, 0x4a, 0x80, 0x05, + 0x4b, 0x80, 0x05, 0x4c, 0x80, 0x05, 0x4d, 0x80, 0x05, 0x4e, 0x80, 0x05, 0x4f, 0x80, 0x05, 0x50, 0x80, 0x05, 0x51, 0x80, + 0x05, 0x52, 0x80, 0x05, 0x53, 0x80, 0x05, 0x54, 0x80, 0x05, 0x55, 0x80, 0x05, 0x56, 0x80, 0x05, 0x57, 0x80, 0x05, 0x58, + 0x80, 0x05, 0x59, 0x80, 0x05, 0x5a, 0x80, 0x05, 0x5b, 0x80, 0x05, 0x5c, 0x80, 0x05, 0x5d, 0x80, 0x05, 0x5e, 0x80, 0x05, + 0x5f, 0x80, 0x05, 0x60, 0x80, 0x05, 0x61, 0x80, 0x05, 0x62, 0x80, 0x05, 0x63, 0x80, 0x18, 0x24, 0x03, 0x16, 0x2c, 0x04, + 0x13, 0x5a, 0x49, 0x47, 0x32, 0x30, 0x31, 0x34, 0x32, 0x5a, 0x42, 0x33, 0x33, 0x30, 0x30, 0x30, 0x33, 0x2d, 0x32, 0x34, + 0x24, 0x05, 0x00, 0x24, 0x06, 0x00, 0x25, 0x07, 0x94, 0x26, 0x24, 0x08, 0x00, 0x18, 0x31, 0x7d, 0x30, 0x7b, 0x02, 0x01, + 0x03, 0x80, 0x14, 0x62, 0xfa, 0x82, 0x33, 0x59, 0xac, 0xfa, 0xa9, 0x96, 0x3e, 0x1c, 0xfa, 0x14, 0x0a, 0xdd, 0xf5, 0x04, + 0xf3, 0x71, 0x60, 0x30, 0x0b, 0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, 0x01, 0x30, 0x0a, 0x06, 0x08, + 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x04, 0x47, 0x30, 0x45, 0x02, 0x20, 0x24, 0xe5, 0xd1, 0xf4, 0x7a, 0x7d, + 0x7b, 0x0d, 0x20, 0x6a, 0x26, 0xef, 0x69, 0x9b, 0x7c, 0x97, 0x57, 0xb7, 0x2d, 0x46, 0x90, 0x89, 0xde, 0x31, 0x92, 0xe6, + 0x78, 0xc7, 0x45, 0xe7, 0xf6, 0x0c, 0x02, 0x21, 0x00, 0xf8, 0xaa, 0x2f, 0xa7, 0x11, 0xfc, 0xb7, 0x9b, 0x97, 0xe3, 0x97, + 0xce, 0xda, 0x66, 0x7b, 0xae, 0x46, 0x4e, 0x2b, 0xd3, 0xff, 0xdf, 0xc3, 0xcc, 0xed, 0x7a, 0xa8, 0xca, 0x5f, 0x4c, 0x1a, + 0x7c, + }; + + return CopySpanToMutableSpan(ByteSpan{ kCdForAllExamples }, out_buffer); +} + +CHIP_ERROR DeviceAttestationCredsCC32XX::GetFirmwareInformation(MutableByteSpan & out_firmware_info_buffer) +{ + out_firmware_info_buffer.reduce_size(0); + + return CHIP_NO_ERROR; +} + +CHIP_ERROR DeviceAttestationCredsCC32XX::GetDeviceAttestationCert(MutableByteSpan & out_buffer) +{ + ReturnErrorCodeIf(out_buffer.size() < mFactoryData->dac_cert.len, CHIP_ERROR_BUFFER_TOO_SMALL); + ReturnErrorCodeIf(!mFactoryData->dac_cert.data, CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND); + + return CopySpanToMutableSpan(ByteSpan{ mFactoryData->dac_cert.data, mFactoryData->dac_cert.len }, out_buffer); + return CHIP_NO_ERROR; +} + +CHIP_ERROR DeviceAttestationCredsCC32XX::GetProductAttestationIntermediateCert(MutableByteSpan & out_buffer) +{ + ReturnErrorCodeIf(out_buffer.size() < mFactoryData->pai_cert.len, CHIP_ERROR_BUFFER_TOO_SMALL); + ReturnErrorCodeIf(!mFactoryData->pai_cert.data, CHIP_ERROR_PERSISTED_STORAGE_VALUE_NOT_FOUND); + + return CopySpanToMutableSpan(ByteSpan{ mFactoryData->pai_cert.data, mFactoryData->pai_cert.len }, out_buffer); +} + +CHIP_ERROR DeviceAttestationCredsCC32XX::SignWithDeviceAttestationKey(const ByteSpan & message_to_sign, MutableByteSpan & out_buffer) +{ + Crypto::P256ECDSASignature signature; + Crypto::P256Keypair keypair; + + VerifyOrReturnError(IsSpanUsable(out_buffer), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(IsSpanUsable(message_to_sign), CHIP_ERROR_INVALID_ARGUMENT); + VerifyOrReturnError(out_buffer.size() >= signature.Capacity(), CHIP_ERROR_BUFFER_TOO_SMALL); + + // In a non-exemplary implementation, the public key is not needed here. It is used here merely because + // Crypto::P256Keypair is only (currently) constructable from raw keys if both private/public keys are present. + ReturnErrorOnFailure(LoadKeypairFromRaw( + ByteSpan(mFactoryData->dac_priv_key.data, mFactoryData->dac_priv_key.len), + ByteSpan(mFactoryData->dac_pub_key.data, mFactoryData->dac_pub_key.len), keypair)); + ReturnErrorOnFailure(keypair.ECDSA_sign_msg(message_to_sign.data(), message_to_sign.size(), signature)); + + return CopySpanToMutableSpan(ByteSpan{ signature.ConstBytes(), signature.Length() }, out_buffer); +} + +} // namespace + +DeviceAttestationCredentialsProvider * GetCC32XXDacProvider() +{ + static DeviceAttestationCredsCC32XX dac_provider; + return &dac_provider; +} + +} // namespace CC32XX +} // namespace Credentials +} // namespace chip diff --git a/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.h b/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.h new file mode 100644 index 00000000000000..744f1c205e0f47 --- /dev/null +++ b/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.h @@ -0,0 +1,36 @@ +/* + * + * Copyright (c) 2022 Project CHIP Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +#pragma once + +#include + +namespace chip { +namespace Credentials { +namespace CC32XX { + +/** + * @brief Get implementation of a sample DAC provider to validate device + * attestation procedure. + * + * @returns a singleton DeviceAttestationCredentialsProvider that relies on no + * storage abstractions. + */ +DeviceAttestationCredentialsProvider * GetCC32XXDacProvider(); + +} // namespace CC32XX +} // namespace Credentials +} // namespace chip diff --git a/src/platform/cc32xx/CC32XXConfig.cpp b/src/platform/cc32xx/CC32XXConfig.cpp index e31b6293a2758d..ad0e52ce5571c0 100644 --- a/src/platform/cc32xx/CC32XXConfig.cpp +++ b/src/platform/cc32xx/CC32XXConfig.cpp @@ -323,7 +323,7 @@ CC32XXKVSList * pList; CHIP_ERROR CC32XXConfig::Init() { - cc32xxLog("[%s], KVS List created", __FUNCTION__); + cc32xxLog("[CC32XXConfig::Init] KVS List created"); pList = new CC32XXKVSList(); ReadKVSFromNV(); return CHIP_NO_ERROR; From 6e6ec486ca3741c42f6160e150199d825f7ae40f Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Mon, 30 Jan 2023 13:55:36 -0600 Subject: [PATCH 25/40] removed CHIP-tool modification section in lock-app readme, not needed anymore --- examples/lock-app/cc32xx/README.md | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/lock-app/cc32xx/README.md b/examples/lock-app/cc32xx/README.md index 753d44b587023e..c3c63c4b4be66b 100644 --- a/examples/lock-app/cc32xx/README.md +++ b/examples/lock-app/cc32xx/README.md @@ -159,13 +159,6 @@ the device is connected to the local AP, commissioning can be triggered using #### Bluetooth LE Provisioning BLE provisioning is not supported currently. - -### CHIP tool changes needed for Wi-Fi example - -The timeout for the CHIP tool needs to be increased from 10 to 15 seconds. This -can be done in `chip::System::Clock::Timeout GetWaitDuration` in -`connectedhomeip/examples/chip-tool/commands/clusters/ModelCommand.h` - ## TI Support For technical support, please consider creating a post on TI's [E2E forum][e2e]. From 5539c81087060d76c7c7e2ee5c5e185044230798 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Tue, 31 Jan 2023 18:32:02 -0600 Subject: [PATCH 26/40] more code cleanup --- examples/lock-app/cc32xx/BUILD.gn | 7 ++++--- examples/lock-app/cc32xx/main/AppTask.cpp | 6 ------ examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp | 4 ++-- examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h | 2 +- src/platform/cc32xx/BUILD.gn | 7 +------ src/platform/cc32xx/ConnectivityManagerImpl.cpp | 1 - 6 files changed, 8 insertions(+), 19 deletions(-) diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index aeab088034e464..be093445743f99 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -73,8 +73,8 @@ source_set("lock_app_sdk") { ":sysconfig", "${chip_root}/examples/lock-app/lock-common", "${chip_root}/src/lib", - "${chip_root}/src/setup_payload", - ] + "${chip_root}/src/setup_payload", + ] } ti_simplelink_executable("lock_app") { @@ -87,7 +87,8 @@ ti_simplelink_executable("lock_app") { "${project_dir}/main/CXXExceptionStubs.cpp", "${project_dir}/main/ZclCallbacks.cpp", "${project_dir}/main/DeviceCallbacks.cpp", - "${project_dir}/main/CHIPDeviceManager.cpp", ] + "${project_dir}/main/CHIPDeviceManager.cpp", + ] deps = [ ":lock_app_sdk", diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index 86d002cf862f82..1cde826f119ede 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -97,10 +97,6 @@ int AppTask::StartAppTask() return ret; } -extern "C" { - bool gClearKVS = false; -} - int AppTask::Init() { CHIP_ERROR ret; @@ -138,8 +134,6 @@ int AppTask::Init() gButtonRightHandle = Button_open(CONFIG_BTN_RIGHT, &buttonParams); Button_setCallback(gButtonRightHandle, ButtonRightEventHandler); - gClearKVS = GPIO_read(CONFIG_GPIO_BTN_RIGHT_INPUT); - PLAT_LOG("Initialize Wi-Fi"); WiFi_init(); diff --git a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp index d7622d4f482fb5..8806ad3ad20eb7 100644 --- a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp +++ b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp @@ -41,7 +41,7 @@ namespace DeviceManager { using namespace ::chip::DeviceLayer; -void CHIPDeviceManager::CommonDeviceEventHandler(const ChipDeviceEvent * event, intptr_t arg) +void CHIPDeviceManager::DeviceEventHandler(const ChipDeviceEvent * event, intptr_t arg) { CHIPDeviceManagerCallbacks * cb = reinterpret_cast(arg); if (cb != nullptr) @@ -59,7 +59,7 @@ CHIP_ERROR CHIPDeviceManager::Init(CHIPDeviceManagerCallbacks * cb) // Register a function to receive events from the CHIP device layer. Note that calls to // this function will happen on the CHIP event loop thread, not the app_main thread. - PlatformMgr().AddEventHandler(CHIPDeviceManager::CommonDeviceEventHandler, reinterpret_cast(cb)); + PlatformMgr().AddEventHandler(CHIPDeviceManager::DeviceEventHandler, reinterpret_cast(cb)); // Start a task to run the CHIP Device event loop. return PlatformMgr().StartEventLoopTask(); diff --git a/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h b/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h index dfc9153b95da1d..2c3d61b5b75aa0 100644 --- a/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h +++ b/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h @@ -111,7 +111,7 @@ class DLL_EXPORT CHIPDeviceManager /** * Use internally for registration of the ChipDeviceEvents */ - static void CommonDeviceEventHandler(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); + static void DeviceEventHandler(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); private: CHIPDeviceManagerCallbacks * mCB = nullptr; diff --git a/src/platform/cc32xx/BUILD.gn b/src/platform/cc32xx/BUILD.gn index db9212d25e00f3..546061f50df924 100644 --- a/src/platform/cc32xx/BUILD.gn +++ b/src/platform/cc32xx/BUILD.gn @@ -43,15 +43,10 @@ static_library("cc32xx") { "SystemPlatformConfig.h", ] - - include_dirs = [ - ] - - + public_deps = [ "${chip_root}/src/crypto", "${chip_root}/src/platform:platform_base", - ] if (chip_enable_ble) { diff --git a/src/platform/cc32xx/ConnectivityManagerImpl.cpp b/src/platform/cc32xx/ConnectivityManagerImpl.cpp index 1683883218c434..acaf41619b3dc8 100644 --- a/src/platform/cc32xx/ConnectivityManagerImpl.cpp +++ b/src/platform/cc32xx/ConnectivityManagerImpl.cpp @@ -204,7 +204,6 @@ void ConnectivityManagerImpl::_OnIpAcquired(intptr_t arg) event.Type = DeviceEventType::kInterfaceIpAddressChanged; event.InterfaceIpAddressChanged.Type = InterfaceIpChangeType::kIpV4_Assigned; PlatformMgr().PostEventOrDie(&event); - //chip::app::DnssdServer::Instance().StartServer(); } void ConnectivityManagerImpl::OnStationConnected() From b6190b28e362d129a3913f24a8f86354e9e5a156 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Tue, 31 Jan 2023 18:34:26 -0600 Subject: [PATCH 27/40] forgot to add platform BUILD.gn to prev commit --- examples/platform/cc32xx/BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/platform/cc32xx/BUILD.gn b/examples/platform/cc32xx/BUILD.gn index a09bcb45de021a..b026595b407641 100644 --- a/examples/platform/cc32xx/BUILD.gn +++ b/examples/platform/cc32xx/BUILD.gn @@ -36,4 +36,4 @@ source_set("cc32xx-attestation-credentials") { ] public_configs = [ ":attestation-credentials-config" ] -} \ No newline at end of file +} From 549a483a55d0cb43d3edec221af151f8cf828f80 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Wed, 1 Feb 2023 18:20:21 -0600 Subject: [PATCH 28/40] added DAC instructions in lock-app readme --- examples/lock-app/cc32xx/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/lock-app/cc32xx/README.md b/examples/lock-app/cc32xx/README.md index c3c63c4b4be66b..64077744b3d5dd 100644 --- a/examples/lock-app/cc32xx/README.md +++ b/examples/lock-app/cc32xx/README.md @@ -96,6 +96,10 @@ Ninja to build the executable. $ ninja -C out/debug ``` +## Adding DAC Certificates + +To add custom DAC Certificates, the CC32XXDeviceAttestationCreds.cpp file in `examples/platform/cc32xx` can be modified. The private key, public key, DAC cert and PAI cert arrays all need to be replaced. + ## Programming Loading the built image onto a LaunchPad is supported through Code Composer From 6b78fcb3f789fc9219e6d692e83a64a99ee28594 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 2 Feb 2023 00:31:44 +0000 Subject: [PATCH 29/40] Restyled by whitespace --- examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp | 4 +--- examples/lock-app/cc32xx/main/DeviceCallbacks.cpp | 2 -- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp index 8806ad3ad20eb7..d4f82e106b3f88 100644 --- a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp +++ b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp @@ -56,7 +56,7 @@ void CHIPDeviceManager::DeviceEventHandler(const ChipDeviceEvent * event, intptr CHIP_ERROR CHIPDeviceManager::Init(CHIPDeviceManagerCallbacks * cb) { mCB = cb; - + // Register a function to receive events from the CHIP device layer. Note that calls to // this function will happen on the CHIP event loop thread, not the app_main thread. PlatformMgr().AddEventHandler(CHIPDeviceManager::DeviceEventHandler, reinterpret_cast(cb)); @@ -71,5 +71,3 @@ CHIPDeviceManagerCallbacks::~CHIPDeviceManagerCallbacks() {} } // namespace DeviceManager } // namespace chip - - diff --git a/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp b/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp index 2b9657752d24db..70ed6234b100a5 100644 --- a/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp +++ b/examples/lock-app/cc32xx/main/DeviceCallbacks.cpp @@ -43,5 +43,3 @@ void DeviceCallbacks::DeviceEventCallback(const ChipDeviceEvent * event, intptr_ } } } - - From 819e6e6746aa818d68d073506273c3ec1ac2749c Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 2 Feb 2023 00:31:47 +0000 Subject: [PATCH 30/40] Restyled by clang-format --- examples/lock-app/cc32xx/main/AppTask.cpp | 4 +- .../cc32xx/main/CHIPDeviceManager.cpp | 3 +- .../cc32xx/CC32XXDeviceAttestationCreds.cpp | 204 ++++++++---------- .../cc32xx/ConnectivityManagerImpl.cpp | 2 +- 4 files changed, 94 insertions(+), 119 deletions(-) diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index 1cde826f119ede..1e8151a3838892 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -31,11 +31,11 @@ #include #include +#include +#include #include #include #include -#include -#include #include #include diff --git a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp index d4f82e106b3f88..4aeac255c2be67 100644 --- a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp +++ b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp @@ -32,7 +32,6 @@ // #include // #include - using namespace ::chip; namespace chip { @@ -55,7 +54,7 @@ void CHIPDeviceManager::DeviceEventHandler(const ChipDeviceEvent * event, intptr */ CHIP_ERROR CHIPDeviceManager::Init(CHIPDeviceManagerCallbacks * cb) { - mCB = cb; + mCB = cb; // Register a function to receive events from the CHIP device layer. Note that calls to // this function will happen on the CHIP event loop thread, not the app_main thread. diff --git a/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.cpp b/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.cpp index 28afd9c040ae13..ce0494a0e7b4c7 100644 --- a/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.cpp +++ b/examples/platform/cc32xx/CC32XXDeviceAttestationCreds.cpp @@ -15,9 +15,9 @@ * limitations under the License. */ #include "CC32XXDeviceAttestationCreds.h" -#include #include #include +#include #include #include #include @@ -32,12 +32,14 @@ namespace { extern "C" { -typedef struct { +typedef struct +{ const uint32_t len; uint8_t const * data; } data_ptr; -typedef struct { +typedef struct +{ data_ptr dac_priv_key; data_ptr dac_pub_key; data_ptr dac_cert; @@ -96,83 +98,67 @@ const uint8_t gDacCert[] = { }; #else const uint8_t gDacPrivKey[] = { - 0x56, 0xdd, 0xea, 0x13, 0x80, 0xa1, 0x0f, 0x7e, 0x3d, 0xe0, 0xf2, 0xc5, 0x26, 0x1d, 0xb9, - 0x98, 0x72, 0xf0, 0xc1, 0x6c, 0x6e, 0x03, 0x2f, 0xc8, 0x01, 0x20, 0xe1, 0xcc, 0x20, 0x8f, - 0x5f, 0x71, + 0x56, 0xdd, 0xea, 0x13, 0x80, 0xa1, 0x0f, 0x7e, 0x3d, 0xe0, 0xf2, 0xc5, 0x26, 0x1d, 0xb9, 0x98, + 0x72, 0xf0, 0xc1, 0x6c, 0x6e, 0x03, 0x2f, 0xc8, 0x01, 0x20, 0xe1, 0xcc, 0x20, 0x8f, 0x5f, 0x71, }; const uint8_t gDacPubKey[] = { - 0x04, 0x9d, 0x29, 0xc0, 0x89, 0x0d, 0x45, 0x5a, 0xfa, 0xfc, 0x57, 0x0a, 0x07, 0x17, 0xf8, - 0xf6, 0xe0, 0xc8, 0x3b, 0x5c, 0xff, 0x73, 0xe1, 0xd0, 0x0a, 0xfc, 0x65, 0x76, 0x84, 0x41, - 0x78, 0xf7, 0xcf, 0x49, 0x22, 0x42, 0x64, 0xb8, 0x17, 0x0d, 0x00, 0xcf, 0x9d, 0x15, 0x07, - 0x55, 0x56, 0xe8, 0x42, 0xbe, 0xf9, 0xd8, 0x37, 0x76, 0x64, 0xb2, 0xc8, 0x45, 0x29, 0xba, - 0x11, 0xdd, 0xb3, 0x5f, 0x19, + 0x04, 0x9d, 0x29, 0xc0, 0x89, 0x0d, 0x45, 0x5a, 0xfa, 0xfc, 0x57, 0x0a, 0x07, 0x17, 0xf8, 0xf6, 0xe0, + 0xc8, 0x3b, 0x5c, 0xff, 0x73, 0xe1, 0xd0, 0x0a, 0xfc, 0x65, 0x76, 0x84, 0x41, 0x78, 0xf7, 0xcf, 0x49, + 0x22, 0x42, 0x64, 0xb8, 0x17, 0x0d, 0x00, 0xcf, 0x9d, 0x15, 0x07, 0x55, 0x56, 0xe8, 0x42, 0xbe, 0xf9, + 0xd8, 0x37, 0x76, 0x64, 0xb2, 0xc8, 0x45, 0x29, 0xba, 0x11, 0xdd, 0xb3, 0x5f, 0x19, }; const uint8_t gDacCert[] = { - 0x30, 0x82, 0x01, 0xf7, 0x30, 0x82, 0x01, 0x9d, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x72, - 0xbe, 0xbd, 0xfe, 0x0f, 0xa8, 0x6f, 0x61, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, - 0x04, 0x03, 0x02, 0x30, 0x4d, 0x31, 0x1f, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x16, - 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, 0x65, - 0x6e, 0x74, 0x20, 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, - 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, - 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, - 0x30, 0x36, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, 0x34, 0x32, 0x33, - 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, - 0x39, 0x35, 0x39, 0x5a, 0x30, 0x52, 0x31, 0x24, 0x30, 0x22, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, - 0x1b, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, - 0x65, 0x6e, 0x74, 0x20, 0x44, 0x41, 0x43, 0x20, 0x30, 0x30, 0x30, 0x31, 0x31, 0x14, 0x30, 0x12, - 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, - 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, - 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x36, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, - 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, - 0x42, 0x00, 0x04, 0x9d, 0x29, 0xc0, 0x89, 0x0d, 0x45, 0x5a, 0xfa, 0xfc, 0x57, 0x0a, 0x07, 0x17, - 0xf8, 0xf6, 0xe0, 0xc8, 0x3b, 0x5c, 0xff, 0x73, 0xe1, 0xd0, 0x0a, 0xfc, 0x65, 0x76, 0x84, 0x41, - 0x78, 0xf7, 0xcf, 0x49, 0x22, 0x42, 0x64, 0xb8, 0x17, 0x0d, 0x00, 0xcf, 0x9d, 0x15, 0x07, 0x55, - 0x56, 0xe8, 0x42, 0xbe, 0xf9, 0xd8, 0x37, 0x76, 0x64, 0xb2, 0xc8, 0x45, 0x29, 0xba, 0x11, 0xdd, - 0xb3, 0x5f, 0x19, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, - 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, - 0x04, 0x03, 0x02, 0x07, 0x80, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, - 0x03, 0xcc, 0x51, 0xfb, 0x25, 0x7c, 0x95, 0x0b, 0xbd, 0x62, 0x20, 0xd6, 0xc1, 0xde, 0xdf, 0xa5, - 0x22, 0x78, 0x44, 0xfb, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, - 0x14, 0x43, 0x34, 0x57, 0x12, 0xba, 0x2c, 0x87, 0xef, 0x25, 0x49, 0x7b, 0x11, 0xd7, 0x98, 0x58, - 0x9b, 0x84, 0x35, 0x7f, 0x88, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, - 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0xe3, 0xe0, 0x39, 0xef, 0x41, 0xe3, 0x8f, - 0x58, 0xf0, 0xe4, 0x37, 0x00, 0xdf, 0x45, 0x9a, 0xe4, 0xb8, 0xf1, 0xb9, 0x70, 0x30, 0x0c, 0xca, - 0x43, 0x2a, 0x49, 0xd0, 0x50, 0xf0, 0xa3, 0x74, 0x65, 0x02, 0x20, 0x1c, 0x17, 0x8b, 0x93, 0xe9, - 0xea, 0xb1, 0x7a, 0xda, 0xe5, 0xe9, 0x95, 0x6f, 0xa2, 0xdc, 0x97, 0xcf, 0x21, 0x07, 0x81, 0x47, - 0xf6, 0x75, 0x2c, 0x1f, 0x9d, 0xa5, 0xcb, 0xa4, 0xaf, 0x98, 0x60, + 0x30, 0x82, 0x01, 0xf7, 0x30, 0x82, 0x01, 0x9d, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x72, 0xbe, 0xbd, 0xfe, 0x0f, 0xa8, + 0x6f, 0x61, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x4d, 0x31, 0x1f, 0x30, 0x1d, 0x06, + 0x03, 0x55, 0x04, 0x03, 0x0c, 0x16, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, + 0x65, 0x6e, 0x74, 0x20, 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, + 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x36, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, 0x34, + 0x32, 0x33, 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, + 0x5a, 0x30, 0x52, 0x31, 0x24, 0x30, 0x22, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x1b, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, + 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x44, 0x41, 0x43, 0x20, 0x30, 0x30, 0x30, 0x31, 0x31, + 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, + 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, + 0x36, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, + 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x9d, 0x29, 0xc0, 0x89, 0x0d, 0x45, 0x5a, 0xfa, 0xfc, 0x57, 0x0a, 0x07, 0x17, 0xf8, + 0xf6, 0xe0, 0xc8, 0x3b, 0x5c, 0xff, 0x73, 0xe1, 0xd0, 0x0a, 0xfc, 0x65, 0x76, 0x84, 0x41, 0x78, 0xf7, 0xcf, 0x49, 0x22, 0x42, + 0x64, 0xb8, 0x17, 0x0d, 0x00, 0xcf, 0x9d, 0x15, 0x07, 0x55, 0x56, 0xe8, 0x42, 0xbe, 0xf9, 0xd8, 0x37, 0x76, 0x64, 0xb2, 0xc8, + 0x45, 0x29, 0xba, 0x11, 0xdd, 0xb3, 0x5f, 0x19, 0xa3, 0x60, 0x30, 0x5e, 0x30, 0x0c, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, + 0xff, 0x04, 0x02, 0x30, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x07, 0x80, + 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x03, 0xcc, 0x51, 0xfb, 0x25, 0x7c, 0x95, 0x0b, 0xbd, 0x62, + 0x20, 0xd6, 0xc1, 0xde, 0xdf, 0xa5, 0x22, 0x78, 0x44, 0xfb, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, + 0x80, 0x14, 0x43, 0x34, 0x57, 0x12, 0xba, 0x2c, 0x87, 0xef, 0x25, 0x49, 0x7b, 0x11, 0xd7, 0x98, 0x58, 0x9b, 0x84, 0x35, 0x7f, + 0x88, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, + 0xe3, 0xe0, 0x39, 0xef, 0x41, 0xe3, 0x8f, 0x58, 0xf0, 0xe4, 0x37, 0x00, 0xdf, 0x45, 0x9a, 0xe4, 0xb8, 0xf1, 0xb9, 0x70, 0x30, + 0x0c, 0xca, 0x43, 0x2a, 0x49, 0xd0, 0x50, 0xf0, 0xa3, 0x74, 0x65, 0x02, 0x20, 0x1c, 0x17, 0x8b, 0x93, 0xe9, 0xea, 0xb1, 0x7a, + 0xda, 0xe5, 0xe9, 0x95, 0x6f, 0xa2, 0xdc, 0x97, 0xcf, 0x21, 0x07, 0x81, 0x47, 0xf6, 0x75, 0x2c, 0x1f, 0x9d, 0xa5, 0xcb, 0xa4, + 0xaf, 0x98, 0x60, }; #endif const uint8_t gPaiCert[] = { - 0x30, 0x82, 0x01, 0xdc, 0x30, 0x82, 0x01, 0x81, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x7f, - 0x7e, 0xf3, 0xdb, 0x08, 0xa3, 0x8f, 0x68, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, - 0x04, 0x03, 0x02, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0f, - 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, - 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, - 0x04, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, - 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, - 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x4d, 0x31, 0x1f, 0x30, 0x1d, 0x06, 0x03, 0x55, - 0x04, 0x03, 0x0c, 0x16, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, - 0x6f, 0x70, 0x6d, 0x65, 0x6e, 0x74, 0x20, 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, - 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, - 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, - 0x0c, 0x04, 0x38, 0x30, 0x30, 0x36, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, - 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, - 0x04, 0x42, 0x93, 0x55, 0x77, 0x35, 0x35, 0x15, 0xce, 0xfa, 0x8f, 0x0e, 0x30, 0xe2, 0x34, 0x7e, - 0x90, 0xee, 0xd6, 0xfd, 0x51, 0x5b, 0xe8, 0x82, 0xd1, 0xbc, 0xba, 0x74, 0x83, 0xd7, 0xff, 0x6e, - 0xf4, 0xde, 0xdf, 0x98, 0xf7, 0xf7, 0x4f, 0x17, 0x42, 0x1d, 0xe5, 0x45, 0x0c, 0xff, 0xfb, 0x3e, - 0x7f, 0x6d, 0x4f, 0x62, 0x28, 0x53, 0x41, 0x14, 0xfb, 0xb8, 0x5c, 0x2d, 0x52, 0xd1, 0x82, 0xb6, - 0x6a, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, - 0x08, 0x30, 0x06, 0x01, 0x01, 0xff, 0x02, 0x01, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, - 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, - 0x04, 0x16, 0x04, 0x14, 0x43, 0x34, 0x57, 0x12, 0xba, 0x2c, 0x87, 0xef, 0x25, 0x49, 0x7b, 0x11, - 0xd7, 0x98, 0x58, 0x9b, 0x84, 0x35, 0x7f, 0x88, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, - 0x18, 0x30, 0x16, 0x80, 0x14, 0x6a, 0xfd, 0x22, 0x77, 0x1f, 0x51, 0x1f, 0xec, 0xbf, 0x16, 0x41, - 0x97, 0x67, 0x10, 0xdc, 0xdc, 0x31, 0xa1, 0x71, 0x7e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, - 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0xff, 0x25, 0xf1, - 0xd1, 0x54, 0xc3, 0x13, 0x7e, 0x0e, 0x08, 0x6d, 0x82, 0xab, 0x0b, 0x11, 0xb5, 0x66, 0x18, 0x39, - 0xb7, 0x12, 0xb1, 0x34, 0x2c, 0x6c, 0xde, 0x94, 0xfb, 0xe3, 0x18, 0xa9, 0x2b, 0x02, 0x21, 0x00, - 0x92, 0xe2, 0x81, 0xf9, 0x8a, 0x2f, 0xcc, 0x14, 0xcd, 0xf4, 0x07, 0x50, 0xd2, 0x80, 0xd7, 0xdf, - 0xea, 0x3f, 0x4d, 0xa4, 0x6f, 0x35, 0x7a, 0xfe, 0xac, 0xb8, 0x9b, 0x26, 0x77, 0x06, 0xd2, 0x8a, + 0x30, 0x82, 0x01, 0xdc, 0x30, 0x82, 0x01, 0x81, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x7f, 0x7e, 0xf3, 0xdb, 0x08, 0xa3, + 0x8f, 0x68, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x06, + 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0f, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, + 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, + 0x31, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, + 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x4d, 0x31, 0x1f, 0x30, 0x1d, 0x06, + 0x03, 0x55, 0x04, 0x03, 0x0c, 0x16, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x44, 0x65, 0x76, 0x65, 0x6c, 0x6f, 0x70, 0x6d, + 0x65, 0x6e, 0x74, 0x20, 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, + 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, + 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x36, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, + 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x42, 0x93, 0x55, 0x77, 0x35, 0x35, + 0x15, 0xce, 0xfa, 0x8f, 0x0e, 0x30, 0xe2, 0x34, 0x7e, 0x90, 0xee, 0xd6, 0xfd, 0x51, 0x5b, 0xe8, 0x82, 0xd1, 0xbc, 0xba, 0x74, + 0x83, 0xd7, 0xff, 0x6e, 0xf4, 0xde, 0xdf, 0x98, 0xf7, 0xf7, 0x4f, 0x17, 0x42, 0x1d, 0xe5, 0x45, 0x0c, 0xff, 0xfb, 0x3e, 0x7f, + 0x6d, 0x4f, 0x62, 0x28, 0x53, 0x41, 0x14, 0xfb, 0xb8, 0x5c, 0x2d, 0x52, 0xd1, 0x82, 0xb6, 0x6a, 0xa3, 0x66, 0x30, 0x64, 0x30, + 0x12, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x08, 0x30, 0x06, 0x01, 0x01, 0xff, 0x02, 0x01, 0x00, 0x30, 0x0e, + 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, + 0x04, 0x16, 0x04, 0x14, 0x43, 0x34, 0x57, 0x12, 0xba, 0x2c, 0x87, 0xef, 0x25, 0x49, 0x7b, 0x11, 0xd7, 0x98, 0x58, 0x9b, 0x84, + 0x35, 0x7f, 0x88, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x6a, 0xfd, 0x22, 0x77, 0x1f, + 0x51, 0x1f, 0xec, 0xbf, 0x16, 0x41, 0x97, 0x67, 0x10, 0xdc, 0xdc, 0x31, 0xa1, 0x71, 0x7e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, + 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x49, 0x00, 0x30, 0x46, 0x02, 0x21, 0x00, 0xff, 0x25, 0xf1, 0xd1, 0x54, 0xc3, 0x13, + 0x7e, 0x0e, 0x08, 0x6d, 0x82, 0xab, 0x0b, 0x11, 0xb5, 0x66, 0x18, 0x39, 0xb7, 0x12, 0xb1, 0x34, 0x2c, 0x6c, 0xde, 0x94, 0xfb, + 0xe3, 0x18, 0xa9, 0x2b, 0x02, 0x21, 0x00, 0x92, 0xe2, 0x81, 0xf9, 0x8a, 0x2f, 0xcc, 0x14, 0xcd, 0xf4, 0x07, 0x50, 0xd2, 0x80, + 0xd7, 0xdf, 0xea, 0x3f, 0x4d, 0xa4, 0x6f, 0x35, 0x7a, 0xfe, 0xac, 0xb8, 0x9b, 0x26, 0x77, 0x06, 0xd2, 0x8a, }; #else @@ -224,44 +210,34 @@ const uint8_t gDacCert[] = { 0x3a, 0xf0, 0xb5, 0x78, 0xdc, 0x90, 0x14, 0xb7, 0x27, 0x97, 0xfd, 0xc4, 0x29, }; #else -const uint8_t gDacPrivKey[] = { -}; -const uint8_t gDacPubKey[] = { -}; -const uint8_t gDacCert[] = { -}; +const uint8_t gDacPrivKey[] = {}; +const uint8_t gDacPubKey[] = {}; +const uint8_t gDacCert[] = {}; #endif const uint8_t gPaiCert[] = { - 0x30, 0x82, 0x01, 0xd4, 0x30, 0x82, 0x01, 0x7a, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x66, - 0xd2, 0xa2, 0xc8, 0xa1, 0x41, 0x29, 0xd3, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, - 0x04, 0x03, 0x02, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0f, - 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, 0x31, - 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, - 0x04, 0x46, 0x46, 0x46, 0x31, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, - 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, - 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x46, 0x31, 0x18, 0x30, 0x16, 0x06, 0x03, 0x55, - 0x04, 0x03, 0x0c, 0x0f, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, - 0x50, 0x41, 0x49, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, - 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, - 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, 0x30, 0x41, 0x30, - 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, - 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x09, 0x2c, 0x43, 0x97, 0xbe, 0x8f, - 0xb7, 0xea, 0x29, 0xd9, 0x7c, 0x82, 0x94, 0x42, 0xd6, 0x5a, 0x70, 0x33, 0x96, 0xee, 0xc4, 0xba, - 0xc1, 0xc6, 0xd4, 0xd4, 0x25, 0x0e, 0xbc, 0x7d, 0xc4, 0x86, 0xb7, 0xe1, 0xc0, 0x4a, 0xb9, 0x28, - 0x79, 0x80, 0x9e, 0x20, 0x1b, 0x41, 0x85, 0x7e, 0xc3, 0xec, 0x0d, 0x39, 0xa0, 0x46, 0xc5, 0xf5, - 0xf8, 0x81, 0x52, 0x56, 0x84, 0xbb, 0x6c, 0x47, 0xed, 0x00, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, - 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, 0x01, 0xff, 0x04, 0x08, 0x30, 0x06, 0x01, 0x01, 0xff, 0x02, - 0x01, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, 0xff, 0x04, 0x04, 0x03, 0x02, - 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x64, 0xc1, 0x61, - 0x97, 0xcb, 0xea, 0x15, 0xb9, 0x4d, 0xb4, 0xb0, 0x49, 0x2f, 0x66, 0xce, 0x6a, 0x50, 0xaa, 0x51, - 0x6a, 0x30, 0x1f, 0x06, 0x03, 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x6a, 0xfd, - 0x22, 0x77, 0x1f, 0x51, 0x1f, 0xec, 0xbf, 0x16, 0x41, 0x97, 0x67, 0x10, 0xdc, 0xdc, 0x31, 0xa1, - 0x71, 0x7e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, 0x48, - 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0x94, 0xc3, 0xfa, 0x48, 0xb3, 0xd0, 0x5d, 0x8c, 0x6a, 0x83, - 0x5e, 0xe2, 0x13, 0xf5, 0xda, 0xb0, 0x93, 0x07, 0xb3, 0xd2, 0x17, 0x7d, 0x5a, 0x4d, 0xfb, 0xf9, - 0xef, 0xc5, 0xe0, 0x29, 0xbb, 0xad, 0x02, 0x20, 0x59, 0x29, 0xb2, 0x32, 0xa1, 0x37, 0x56, 0xa4, - 0xca, 0xda, 0x66, 0x7f, 0x42, 0x49, 0xfd, 0x82, 0x10, 0xec, 0xd3, 0x99, 0x0e, 0x89, 0x9d, 0x52, - 0x4a, 0x78, 0x4c, 0x82, 0x5c, 0xdd, 0x72, 0x5e, + 0x30, 0x82, 0x01, 0xd4, 0x30, 0x82, 0x01, 0x7a, 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x08, 0x66, 0xd2, 0xa2, 0xc8, 0xa1, 0x41, + 0x29, 0xd3, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x30, 0x30, 0x31, 0x18, 0x30, 0x16, 0x06, + 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0f, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x41, + 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, + 0x31, 0x30, 0x20, 0x17, 0x0d, 0x32, 0x31, 0x30, 0x36, 0x32, 0x38, 0x31, 0x34, 0x32, 0x33, 0x34, 0x33, 0x5a, 0x18, 0x0f, 0x39, + 0x39, 0x39, 0x39, 0x31, 0x32, 0x33, 0x31, 0x32, 0x33, 0x35, 0x39, 0x35, 0x39, 0x5a, 0x30, 0x46, 0x31, 0x18, 0x30, 0x16, 0x06, + 0x03, 0x55, 0x04, 0x03, 0x0c, 0x0f, 0x4d, 0x61, 0x74, 0x74, 0x65, 0x72, 0x20, 0x54, 0x65, 0x73, 0x74, 0x20, 0x50, 0x41, 0x49, + 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x01, 0x0c, 0x04, 0x46, 0x46, 0x46, + 0x31, 0x31, 0x14, 0x30, 0x12, 0x06, 0x0a, 0x2b, 0x06, 0x01, 0x04, 0x01, 0x82, 0xa2, 0x7c, 0x02, 0x02, 0x0c, 0x04, 0x38, 0x30, + 0x30, 0x41, 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, + 0x3d, 0x03, 0x01, 0x07, 0x03, 0x42, 0x00, 0x04, 0x09, 0x2c, 0x43, 0x97, 0xbe, 0x8f, 0xb7, 0xea, 0x29, 0xd9, 0x7c, 0x82, 0x94, + 0x42, 0xd6, 0x5a, 0x70, 0x33, 0x96, 0xee, 0xc4, 0xba, 0xc1, 0xc6, 0xd4, 0xd4, 0x25, 0x0e, 0xbc, 0x7d, 0xc4, 0x86, 0xb7, 0xe1, + 0xc0, 0x4a, 0xb9, 0x28, 0x79, 0x80, 0x9e, 0x20, 0x1b, 0x41, 0x85, 0x7e, 0xc3, 0xec, 0x0d, 0x39, 0xa0, 0x46, 0xc5, 0xf5, 0xf8, + 0x81, 0x52, 0x56, 0x84, 0xbb, 0x6c, 0x47, 0xed, 0x00, 0xa3, 0x66, 0x30, 0x64, 0x30, 0x12, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x01, + 0x01, 0xff, 0x04, 0x08, 0x30, 0x06, 0x01, 0x01, 0xff, 0x02, 0x01, 0x00, 0x30, 0x0e, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x01, 0x01, + 0xff, 0x04, 0x04, 0x03, 0x02, 0x01, 0x06, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x64, 0xc1, 0x61, + 0x97, 0xcb, 0xea, 0x15, 0xb9, 0x4d, 0xb4, 0xb0, 0x49, 0x2f, 0x66, 0xce, 0x6a, 0x50, 0xaa, 0x51, 0x6a, 0x30, 0x1f, 0x06, 0x03, + 0x55, 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0x6a, 0xfd, 0x22, 0x77, 0x1f, 0x51, 0x1f, 0xec, 0xbf, 0x16, 0x41, 0x97, + 0x67, 0x10, 0xdc, 0xdc, 0x31, 0xa1, 0x71, 0x7e, 0x30, 0x0a, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x04, 0x03, 0x02, 0x03, + 0x48, 0x00, 0x30, 0x45, 0x02, 0x21, 0x00, 0x94, 0xc3, 0xfa, 0x48, 0xb3, 0xd0, 0x5d, 0x8c, 0x6a, 0x83, 0x5e, 0xe2, 0x13, 0xf5, + 0xda, 0xb0, 0x93, 0x07, 0xb3, 0xd2, 0x17, 0x7d, 0x5a, 0x4d, 0xfb, 0xf9, 0xef, 0xc5, 0xe0, 0x29, 0xbb, 0xad, 0x02, 0x20, 0x59, + 0x29, 0xb2, 0x32, 0xa1, 0x37, 0x56, 0xa4, 0xca, 0xda, 0x66, 0x7f, 0x42, 0x49, 0xfd, 0x82, 0x10, 0xec, 0xd3, 0x99, 0x0e, 0x89, + 0x9d, 0x52, 0x4a, 0x78, 0x4c, 0x82, 0x5c, 0xdd, 0x72, 0x5e, }; #endif @@ -308,7 +284,7 @@ class DeviceAttestationCredsCC32XX : public DeviceAttestationCredentialsProvider CHIP_ERROR SignWithDeviceAttestationKey(const ByteSpan & message_to_sign, MutableByteSpan & out_buffer) override; private: - factoryData const *mFactoryData = &gFactoryData; + factoryData const * mFactoryData = &gFactoryData; }; CHIP_ERROR DeviceAttestationCredsCC32XX::GetCertificationDeclaration(MutableByteSpan & out_buffer) @@ -388,7 +364,8 @@ CHIP_ERROR DeviceAttestationCredsCC32XX::GetProductAttestationIntermediateCert(M return CopySpanToMutableSpan(ByteSpan{ mFactoryData->pai_cert.data, mFactoryData->pai_cert.len }, out_buffer); } -CHIP_ERROR DeviceAttestationCredsCC32XX::SignWithDeviceAttestationKey(const ByteSpan & message_to_sign, MutableByteSpan & out_buffer) +CHIP_ERROR DeviceAttestationCredsCC32XX::SignWithDeviceAttestationKey(const ByteSpan & message_to_sign, + MutableByteSpan & out_buffer) { Crypto::P256ECDSASignature signature; Crypto::P256Keypair keypair; @@ -399,9 +376,8 @@ CHIP_ERROR DeviceAttestationCredsCC32XX::SignWithDeviceAttestationKey(const Byte // In a non-exemplary implementation, the public key is not needed here. It is used here merely because // Crypto::P256Keypair is only (currently) constructable from raw keys if both private/public keys are present. - ReturnErrorOnFailure(LoadKeypairFromRaw( - ByteSpan(mFactoryData->dac_priv_key.data, mFactoryData->dac_priv_key.len), - ByteSpan(mFactoryData->dac_pub_key.data, mFactoryData->dac_pub_key.len), keypair)); + ReturnErrorOnFailure(LoadKeypairFromRaw(ByteSpan(mFactoryData->dac_priv_key.data, mFactoryData->dac_priv_key.len), + ByteSpan(mFactoryData->dac_pub_key.data, mFactoryData->dac_pub_key.len), keypair)); ReturnErrorOnFailure(keypair.ECDSA_sign_msg(message_to_sign.data(), message_to_sign.size(), signature)); return CopySpanToMutableSpan(ByteSpan{ signature.ConstBytes(), signature.Length() }, out_buffer); diff --git a/src/platform/cc32xx/ConnectivityManagerImpl.cpp b/src/platform/cc32xx/ConnectivityManagerImpl.cpp index acaf41619b3dc8..c42bfb426a55e0 100644 --- a/src/platform/cc32xx/ConnectivityManagerImpl.cpp +++ b/src/platform/cc32xx/ConnectivityManagerImpl.cpp @@ -201,7 +201,7 @@ void ConnectivityManagerImpl::_OnIpAcquired(intptr_t arg) { cc32xxLog("ConnectivityManagerImpl::OnIpAcquired() : Start DNS Server"); ChipDeviceEvent event; - event.Type = DeviceEventType::kInterfaceIpAddressChanged; + event.Type = DeviceEventType::kInterfaceIpAddressChanged; event.InterfaceIpAddressChanged.Type = InterfaceIpChangeType::kIpV4_Assigned; PlatformMgr().PostEventOrDie(&event); } From 4b1d46ce8cc2b41d3c72b4f818d45668f3ab920d Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 2 Feb 2023 00:31:48 +0000 Subject: [PATCH 31/40] Restyled by gn --- examples/lock-app/cc32xx/BUILD.gn | 6 +++--- src/platform/cc32xx/BUILD.gn | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/lock-app/cc32xx/BUILD.gn b/examples/lock-app/cc32xx/BUILD.gn index be093445743f99..e1eb3041555d70 100755 --- a/examples/lock-app/cc32xx/BUILD.gn +++ b/examples/lock-app/cc32xx/BUILD.gn @@ -84,18 +84,18 @@ ti_simplelink_executable("lock_app") { sources = [ "${project_dir}/main/AppTask.cpp", "${project_dir}/main/BoltLockManager.cpp", + "${project_dir}/main/CHIPDeviceManager.cpp", "${project_dir}/main/CXXExceptionStubs.cpp", - "${project_dir}/main/ZclCallbacks.cpp", "${project_dir}/main/DeviceCallbacks.cpp", - "${project_dir}/main/CHIPDeviceManager.cpp", + "${project_dir}/main/ZclCallbacks.cpp", ] deps = [ ":lock_app_sdk", ":sdk", ":sysconfig", - "${chip_root}/examples/platform/cc32xx:cc32xx-attestation-credentials", "${chip_root}/examples/lock-app/lock-common", + "${chip_root}/examples/platform/cc32xx:cc32xx-attestation-credentials", "${chip_root}/src/lib", "${chip_root}/src/setup_payload", ] diff --git a/src/platform/cc32xx/BUILD.gn b/src/platform/cc32xx/BUILD.gn index 546061f50df924..6dfa080ee610e1 100644 --- a/src/platform/cc32xx/BUILD.gn +++ b/src/platform/cc32xx/BUILD.gn @@ -43,7 +43,7 @@ static_library("cc32xx") { "SystemPlatformConfig.h", ] - + public_deps = [ "${chip_root}/src/crypto", "${chip_root}/src/platform:platform_base", From 68126c31e03f287c41fb06ae8a1669271ed9e276 Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 2 Feb 2023 00:31:51 +0000 Subject: [PATCH 32/40] Restyled by prettier-markdown --- README.md | 1 - examples/lock-app/cc32xx/README.md | 5 ++++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d051706fd25bf1..5cee1dc72ded9a 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,6 @@ [![Build example - Infineon](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-infineon.yaml/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-infineon.yaml) [![Build example - BouffaloLab](https://github.com/project-chip/connectedhomeip/workflows/Build%20example%20-%20BouffaloLab/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/examples-bouffalolab.yaml) - [![Android](https://github.com/project-chip/connectedhomeip/workflows/Android/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/android.yaml) [![Unit / Integration Tests](https://github.com/project-chip/connectedhomeip/workflows/Unit%20/%20Integration%20Tests/badge.svg)](https://github.com/project-chip/connectedhomeip/actions/workflows/unit_integration_test.yaml) diff --git a/examples/lock-app/cc32xx/README.md b/examples/lock-app/cc32xx/README.md index 64077744b3d5dd..9f4351e04337a6 100644 --- a/examples/lock-app/cc32xx/README.md +++ b/examples/lock-app/cc32xx/README.md @@ -98,7 +98,9 @@ Ninja to build the executable. ## Adding DAC Certificates -To add custom DAC Certificates, the CC32XXDeviceAttestationCreds.cpp file in `examples/platform/cc32xx` can be modified. The private key, public key, DAC cert and PAI cert arrays all need to be replaced. +To add custom DAC Certificates, the CC32XXDeviceAttestationCreds.cpp file in +`examples/platform/cc32xx` can be modified. The private key, public key, DAC +cert and PAI cert arrays all need to be replaced. ## Programming @@ -163,6 +165,7 @@ the device is connected to the local AP, commissioning can be triggered using #### Bluetooth LE Provisioning BLE provisioning is not supported currently. + ## TI Support For technical support, please consider creating a post on TI's [E2E forum][e2e]. From 9953cb8c107ffdc863f313d30caf6c82f9de5f2c Mon Sep 17 00:00:00 2001 From: "Restyled.io" Date: Thu, 2 Feb 2023 00:31:53 +0000 Subject: [PATCH 33/40] Restyled by autopep8 --- scripts/build/build/targets.py | 6 ++++-- scripts/build/builders/cc32xx.py | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/build/build/targets.py b/scripts/build/build/targets.py index 6894c476216d98..c9ebdfc00728a9 100755 --- a/scripts/build/build/targets.py +++ b/scripts/build/build/targets.py @@ -403,17 +403,19 @@ def Buildcc13x2x7_26x2x7Target(): return target + def Buildcc32xxTarget(): target = BuildTarget('cc32xx', cc32xxBuilder) - + # apps target.AppendFixedTargets([ TargetPart('lock', app=cc32xxApp.LOCK), - + ]) return target + def BuildCyw30739Target(): target = BuildTarget('cyw30739', Cyw30739Builder) # board diff --git a/scripts/build/builders/cc32xx.py b/scripts/build/builders/cc32xx.py index fc390777470ed3..7685b6a66af0fd 100644 --- a/scripts/build/builders/cc32xx.py +++ b/scripts/build/builders/cc32xx.py @@ -20,7 +20,6 @@ class cc32xxApp(Enum): LOCK = auto() - def ExampleName(self): if self == cc32xxApp.LOCK: @@ -55,7 +54,6 @@ def GnBuildArgs(self): 'ti_sysconfig_root="%s"' % os.environ['TI_SYSCONFIG_ROOT'], ] - return args def build_outputs(self): From cff3164fe6f1999db6fb45fcc82836131d9ca7fa Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Wed, 1 Feb 2023 18:38:26 -0600 Subject: [PATCH 34/40] misspell correction --- examples/lock-app/cc32xx/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/lock-app/cc32xx/README.md b/examples/lock-app/cc32xx/README.md index 9f4351e04337a6..b149a72388685a 100644 --- a/examples/lock-app/cc32xx/README.md +++ b/examples/lock-app/cc32xx/README.md @@ -98,7 +98,7 @@ Ninja to build the executable. ## Adding DAC Certificates -To add custom DAC Certificates, the CC32XXDeviceAttestationCreds.cpp file in +To add custom DAC Certificates, the `CC32XXDeviceAttestationCreds.cpp` file in `examples/platform/cc32xx` can be modified. The private key, public key, DAC cert and PAI cert arrays all need to be replaced. From b36feabf0089e66440c2c5f0bcee5811c2e10602 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Wed, 1 Feb 2023 18:50:14 -0600 Subject: [PATCH 35/40] correcting merge conflict resolution mistake and adding Accessors.h back as an include file to AppTask --- examples/lock-app/cc32xx/main/AppTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/lock-app/cc32xx/main/AppTask.cpp b/examples/lock-app/cc32xx/main/AppTask.cpp index dd99366deea525..28c0675b8c717a 100644 --- a/examples/lock-app/cc32xx/main/AppTask.cpp +++ b/examples/lock-app/cc32xx/main/AppTask.cpp @@ -21,7 +21,7 @@ #include "AppConfig.h" #include "AppEvent.h" -#include +#include #include #include #include From 3f2a7eedda89a787461834a7b9d81dca1514529f Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Thu, 2 Feb 2023 11:45:44 -0600 Subject: [PATCH 36/40] corrected contents of testdata folder --- .../testdata/all_targets_except_host.txt | 279 -- .../build/testdata/all_targets_linux_x64.txt | 1 + .../build/testdata/build_all_except_host.txt | 2461 ----------------- .../glob_star_targets_except_host.txt | 117 - 4 files changed, 1 insertion(+), 2857 deletions(-) delete mode 100644 scripts/build/testdata/all_targets_except_host.txt delete mode 100644 scripts/build/testdata/build_all_except_host.txt delete mode 100644 scripts/build/testdata/glob_star_targets_except_host.txt diff --git a/scripts/build/testdata/all_targets_except_host.txt b/scripts/build/testdata/all_targets_except_host.txt deleted file mode 100644 index c01ac69242da8f..00000000000000 --- a/scripts/build/testdata/all_targets_except_host.txt +++ /dev/null @@ -1,279 +0,0 @@ -ameba-amebad-all-clusters -ameba-amebad-all-clusters-minimal -ameba-amebad-light -ameba-amebad-pigweed -android-androidstudio-arm-chip-tool -android-androidstudio-arm64-chip-tool -android-androidstudio-x64-chip-tool -android-androidstudio-x86-chip-tool -android-arm-chip-tool -android-arm-tv-casting-app -android-arm-tv-server -android-arm64-chip-test -android-arm64-chip-tool -android-arm64-tv-casting-app -android-arm64-tv-server -android-x64-chip-tool -android-x64-tv-server -android-x86-chip-tool -android-x86-tv-server -bl602-light -cc13x2x7_26x2x7-all-clusters -cc13x2x7_26x2x7-all-clusters-minimal -cc13x2x7_26x2x7-lock-ftd -cc13x2x7_26x2x7-lock-mtd -cc13x2x7_26x2x7-pump -cc13x2x7_26x2x7-pump-controller -cc13x2x7_26x2x7-shell -cc32xx-lock -cyw30739-cyw930739m2evb_01-light -cyw30739-cyw930739m2evb_01-lock -cyw30739-cyw930739m2evb_01-ota-requestor (NOGLOB: Running out of XIP flash space) -cyw30739-cyw930739m2evb_01-ota-requestor-no-progress-logging -efr32-brd4161a-light -efr32-brd4161a-light-rpc -efr32-brd4161a-light-rpc-with-ota-requestor (NOGLOB: Reduce default build variants) -efr32-brd4161a-light-with-ota-requestor (NOGLOB: Reduce default build variants) -efr32-brd4161a-lock -efr32-brd4161a-lock-rpc -efr32-brd4161a-lock-rpc-with-ota-requestor (NOGLOB: Reduce default build variants) -efr32-brd4161a-lock-with-ota-requestor (NOGLOB: Reduce default build variants) -efr32-brd4161a-switch -efr32-brd4161a-switch-with-ota-requestor (NOGLOB: Reduce default build variants) -efr32-brd4161a-unit-test -efr32-brd4161a-unit-test-with-ota-requestor (NOGLOB: Reduce default build variants) -efr32-brd4161a-window-covering -efr32-brd4161a-window-covering-with-ota-requestor (NOGLOB: Reduce default build variants) -efr32-brd4163a-light (NOGLOB: only user requested) -efr32-brd4163a-light-rpc (NOGLOB: only user requested) -efr32-brd4163a-light-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4163a-light-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4163a-lock (NOGLOB: only user requested) -efr32-brd4163a-lock-rpc (NOGLOB: only user requested) -efr32-brd4163a-lock-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4163a-lock-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4163a-switch (NOGLOB: only user requested) -efr32-brd4163a-switch-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4163a-unit-test (NOGLOB: only user requested) -efr32-brd4163a-unit-test-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4163a-window-covering (NOGLOB: only user requested) -efr32-brd4163a-window-covering-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4164a-light (NOGLOB: only user requested) -efr32-brd4164a-light-rpc (NOGLOB: only user requested) -efr32-brd4164a-light-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4164a-light-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4164a-lock (NOGLOB: only user requested) -efr32-brd4164a-lock-rpc (NOGLOB: only user requested) -efr32-brd4164a-lock-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4164a-lock-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4164a-switch (NOGLOB: only user requested) -efr32-brd4164a-switch-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4164a-unit-test (NOGLOB: only user requested) -efr32-brd4164a-unit-test-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4164a-window-covering (NOGLOB: only user requested) -efr32-brd4164a-window-covering-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4166a-light (NOGLOB: only user requested) -efr32-brd4166a-light-rpc (NOGLOB: only user requested) -efr32-brd4166a-light-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4166a-light-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4166a-lock (NOGLOB: only user requested) -efr32-brd4166a-lock-rpc (NOGLOB: only user requested) -efr32-brd4166a-lock-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4166a-lock-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4166a-switch (NOGLOB: only user requested) -efr32-brd4166a-switch-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4166a-unit-test (NOGLOB: only user requested) -efr32-brd4166a-unit-test-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4166a-window-covering (NOGLOB: only user requested) -efr32-brd4166a-window-covering-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4170a-light (NOGLOB: only user requested) -efr32-brd4170a-light-rpc (NOGLOB: only user requested) -efr32-brd4170a-light-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4170a-light-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4170a-lock (NOGLOB: only user requested) -efr32-brd4170a-lock-rpc (NOGLOB: only user requested) -efr32-brd4170a-lock-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4170a-lock-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4170a-switch (NOGLOB: only user requested) -efr32-brd4170a-switch-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4170a-unit-test (NOGLOB: only user requested) -efr32-brd4170a-unit-test-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4170a-window-covering (NOGLOB: only user requested) -efr32-brd4170a-window-covering-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4186a-light (NOGLOB: only user requested) -efr32-brd4186a-light-rpc (NOGLOB: only user requested) -efr32-brd4186a-light-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4186a-light-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4186a-lock (NOGLOB: only user requested) -efr32-brd4186a-lock-rpc (NOGLOB: only user requested) -efr32-brd4186a-lock-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4186a-lock-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4186a-switch (NOGLOB: only user requested) -efr32-brd4186a-switch-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4186a-unit-test (NOGLOB: only user requested) -efr32-brd4186a-unit-test-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4186a-window-covering (NOGLOB: only user requested) -efr32-brd4186a-window-covering-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4187a-light (NOGLOB: only user requested) -efr32-brd4187a-light-rpc (NOGLOB: only user requested) -efr32-brd4187a-light-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4187a-light-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4187a-lock (NOGLOB: only user requested) -efr32-brd4187a-lock-rpc (NOGLOB: only user requested) -efr32-brd4187a-lock-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4187a-lock-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4187a-switch (NOGLOB: only user requested) -efr32-brd4187a-switch-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4187a-unit-test (NOGLOB: only user requested) -efr32-brd4187a-unit-test-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4187a-window-covering (NOGLOB: only user requested) -efr32-brd4187a-window-covering-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4304a-light (NOGLOB: only user requested) -efr32-brd4304a-light-rpc (NOGLOB: only user requested) -efr32-brd4304a-light-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4304a-light-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4304a-lock (NOGLOB: only user requested) -efr32-brd4304a-lock-rpc (NOGLOB: only user requested) -efr32-brd4304a-lock-rpc-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4304a-lock-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4304a-switch (NOGLOB: only user requested) -efr32-brd4304a-switch-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4304a-unit-test (NOGLOB: only user requested) -efr32-brd4304a-unit-test-with-ota-requestor (NOGLOB: only user requested) -efr32-brd4304a-window-covering (NOGLOB: only user requested) -efr32-brd4304a-window-covering-with-ota-requestor (NOGLOB: only user requested) -esp32-c3devkit-all-clusters -esp32-c3devkit-all-clusters-minimal -esp32-devkitc-all-clusters -esp32-devkitc-all-clusters-ipv6only -esp32-devkitc-all-clusters-minimal -esp32-devkitc-all-clusters-minimal-ipv6only -esp32-devkitc-bridge -esp32-devkitc-light -esp32-devkitc-lock -esp32-devkitc-ota-requestor -esp32-devkitc-ota-requestor-rpc -esp32-devkitc-shell -esp32-devkitc-temperature-measurement -esp32-devkitc-temperature-measurement-rpc -esp32-m5stack-all-clusters -esp32-m5stack-all-clusters-ipv6only -esp32-m5stack-all-clusters-minimal -esp32-m5stack-all-clusters-minimal-ipv6only -esp32-m5stack-all-clusters-minimal-rpc -esp32-m5stack-all-clusters-minimal-rpc-ipv6only -esp32-m5stack-all-clusters-rpc -esp32-m5stack-all-clusters-rpc-ipv6only -esp32-m5stack-ota-requestor -esp32-m5stack-ota-requestor-rpc -esp32-qemu-tests -imx-all-clusters-app -imx-all-clusters-app-release -imx-all-clusters-minimal-app -imx-all-clusters-minimal-app-release -imx-chip-tool -imx-chip-tool-release -imx-lighting-app -imx-lighting-app-release -imx-ota-provider-app -imx-ota-provider-app-release -imx-thermostat -imx-thermostat-release -infineon-psoc6-all-clusters -infineon-psoc6-all-clusters-minimal -infineon-psoc6-all-clusters-minimal-ota (NOGLOB: Reduce default build variants) -infineon-psoc6-all-clusters-minimal-ota-updateimage (NOGLOB: Reduce default build variants) -infineon-psoc6-all-clusters-minimal-updateimage (NOGLOB: Reduce default build variants) -infineon-psoc6-all-clusters-ota (NOGLOB: Reduce default build variants) -infineon-psoc6-all-clusters-ota-updateimage (NOGLOB: Reduce default build variants) -infineon-psoc6-all-clusters-updateimage (NOGLOB: Reduce default build variants) -infineon-psoc6-light -infineon-psoc6-light-ota (NOGLOB: Reduce default build variants) -infineon-psoc6-light-ota-updateimage (NOGLOB: Reduce default build variants) -infineon-psoc6-light-updateimage (NOGLOB: Reduce default build variants) -infineon-psoc6-lock -infineon-psoc6-lock-ota (NOGLOB: Reduce default build variants) -infineon-psoc6-lock-ota-updateimage (NOGLOB: Reduce default build variants) -infineon-psoc6-lock-updateimage (NOGLOB: Reduce default build variants) -k32w-light-ota-se (NOGLOB: Only on demand build) -k32w-light-release-no-ota -k32w-lock-low-power-release (NOGLOB: Only on demand build) -k32w-lock-release -k32w-shell-release -mbed-CY8CPROTO_062_4343W-all-clusters-debug (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-all-clusters-develop (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release -mbed-CY8CPROTO_062_4343W-all-clusters-release -mbed-CY8CPROTO_062_4343W-light-debug (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-light-develop (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-light-release -mbed-CY8CPROTO_062_4343W-lock-debug (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-lock-develop (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-lock-release -mbed-CY8CPROTO_062_4343W-pigweed-debug (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-pigweed-develop (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-pigweed-release -mbed-CY8CPROTO_062_4343W-shell-debug (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-shell-develop (NOGLOB: Compile only for debugging purpose - https://os.mbed.com/docs/mbed-os/latest/program-setup/build-profiles-and-rules.html) -mbed-CY8CPROTO_062_4343W-shell-release -mw320-all-clusters-app -nrf-native-posix-64-tests -nrf-nrf52840dk-all-clusters -nrf-nrf52840dk-all-clusters-minimal -nrf-nrf52840dk-light -nrf-nrf52840dk-light-rpc -nrf-nrf52840dk-lock -nrf-nrf52840dk-pump -nrf-nrf52840dk-pump-controller -nrf-nrf52840dk-shell -nrf-nrf52840dongle-all-clusters (NOGLOB: Out of flash when linking) -nrf-nrf52840dongle-all-clusters-minimal -nrf-nrf52840dongle-light -nrf-nrf5340dk-all-clusters -nrf-nrf5340dk-all-clusters-minimal -nrf-nrf5340dk-light -nrf-nrf5340dk-light-rpc (NOGLOB: Compile failure due to pw_build args not forwarded to proto compiler. https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/66760) -nrf-nrf5340dk-lock -nrf-nrf5340dk-pump -nrf-nrf5340dk-pump-controller -nrf-nrf5340dk-shell -qpg-light -qpg-lock -qpg-persistent-storage -qpg-shell -telink-tlsr9518adk80d-light -telink-tlsr9518adk80d-light-switch -tizen-arm-all-clusters -tizen-arm-all-clusters-asan (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-minimal -tizen-arm-all-clusters-minimal-asan (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-minimal-no-ble (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-minimal-no-ble-asan (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-minimal-no-ble-no-wifi (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-minimal-no-ble-no-wifi-asan (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-minimal-no-wifi (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-minimal-no-wifi-asan (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-no-ble (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-no-ble-asan (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-no-ble-no-wifi (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-no-ble-no-wifi-asan (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-no-wifi (NOGLOB: Reduce default build variants) -tizen-arm-all-clusters-no-wifi-asan (NOGLOB: Reduce default build variants) -tizen-arm-chip-tool -tizen-arm-chip-tool-asan (NOGLOB: Reduce default build variants) -tizen-arm-chip-tool-no-ble (NOGLOB: Reduce default build variants) -tizen-arm-chip-tool-no-ble-asan (NOGLOB: Reduce default build variants) -tizen-arm-chip-tool-no-ble-no-wifi (NOGLOB: Reduce default build variants) -tizen-arm-chip-tool-no-ble-no-wifi-asan (NOGLOB: Reduce default build variants) -tizen-arm-chip-tool-no-wifi (NOGLOB: Reduce default build variants) -tizen-arm-chip-tool-no-wifi-asan (NOGLOB: Reduce default build variants) -tizen-arm-light -tizen-arm-light-asan (NOGLOB: Reduce default build variants) -tizen-arm-light-no-ble (NOGLOB: Reduce default build variants) -tizen-arm-light-no-ble-asan (NOGLOB: Reduce default build variants) -tizen-arm-light-no-ble-no-wifi (NOGLOB: Reduce default build variants) -tizen-arm-light-no-ble-no-wifi-asan (NOGLOB: Reduce default build variants) -tizen-arm-light-no-wifi (NOGLOB: Reduce default build variants) -tizen-arm-light-no-wifi-asan (NOGLOB: Reduce default build variants) diff --git a/scripts/build/testdata/all_targets_linux_x64.txt b/scripts/build/testdata/all_targets_linux_x64.txt index 015f917dac3200..c1c47fe5ed84d5 100644 --- a/scripts/build/testdata/all_targets_linux_x64.txt +++ b/scripts/build/testdata/all_targets_linux_x64.txt @@ -2,6 +2,7 @@ ameba-amebad-{all-clusters,all-clusters-minimal,light,light-switch,pigweed} android-{arm,arm64,x86,x64,androidstudio-arm,androidstudio-arm64,androidstudio-x86,androidstudio-x64}-{chip-tool,chip-test,tv-server,tv-casting-app,java-matter-controller} bouffalolab-{bl602-iot-matter-v1,bl602-iot-dvk-3s,bl602-night-light,xt-zb6-devkit,bl706-iot-dvk,bl706-night-light}-light[-shell][-115200][-rpc] cc13x2x7_26x2x7-{all-clusters,all-clusters-minimal,lock,pump,pump-controller,shell}[-ftd][-mtd] +cc32xx-{lock} cyw30739-cyw930739m2evb_01-{light,lock,ota-requestor}[-no-progress-logging] efr32-{brd4161a,brd4187c,brd4163a,brd4164a,brd4166a,brd4170a,brd4186a,brd4187a,brd4304a}-{window-covering,switch,unit-test,light,lock}[-rpc][-with-ota-requestor][-sed][-low-power][-shell][-no_logging][-openthread_mtd][-enable_heap_monitoring][-no_openthread_cli][-show_qr_code][-wifi][-rs911x][-wf200][-wifi_ipv4][-additional_data_advertising][-use_ot_lib][-use_ot_coap_lib][-no-version] esp32-{m5stack,c3devkit,devkitc,qemu}-{all-clusters,all-clusters-minimal,ota-provider,ota-requestor,shell,light,lock,bridge,temperature-measurement,ota-requestor,tests}[-rpc][-ipv6only] diff --git a/scripts/build/testdata/build_all_except_host.txt b/scripts/build/testdata/build_all_except_host.txt deleted file mode 100644 index d82169c16c105f..00000000000000 --- a/scripts/build/testdata/build_all_except_host.txt +++ /dev/null @@ -1,2461 +0,0 @@ -# Commands will be run in CHIP project root. -cd "{root}" - -# Generating ameba-amebad-all-clusters -bash -c '$AMEBA_PATH/project/realtek_amebaD_va0_example/GCC-RELEASE/build.sh {root} ninja {out}/ameba-amebad-all-clusters all-clusters-app' - -# Generating ameba-amebad-all-clusters-minimal -bash -c '$AMEBA_PATH/project/realtek_amebaD_va0_example/GCC-RELEASE/build.sh {root} ninja {out}/ameba-amebad-all-clusters-minimal all-clusters-minimal-app' - -# Generating ameba-amebad-light -bash -c '$AMEBA_PATH/project/realtek_amebaD_va0_example/GCC-RELEASE/build.sh {root} ninja {out}/ameba-amebad-light lighting-app' - -# Generating ameba-amebad-pigweed -bash -c '$AMEBA_PATH/project/realtek_amebaD_va0_example/GCC-RELEASE/build.sh -r {root} ninja {out}/ameba-amebad-pigweed pigweed-app' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-androidstudio-arm-chip-tool -gn gen --check --fail-on-unused-args {out}/android-androidstudio-arm-chip-tool '--args=target_os="android" target_cpu="arm" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' --ide=json --json-ide-script=//scripts/examples/gn_to_cmakelists.py - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-androidstudio-arm64-chip-tool -gn gen --check --fail-on-unused-args {out}/android-androidstudio-arm64-chip-tool '--args=target_os="android" target_cpu="arm64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' --ide=json --json-ide-script=//scripts/examples/gn_to_cmakelists.py - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-androidstudio-x64-chip-tool -gn gen --check --fail-on-unused-args {out}/android-androidstudio-x64-chip-tool '--args=target_os="android" target_cpu="x64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' --ide=json --json-ide-script=//scripts/examples/gn_to_cmakelists.py - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-androidstudio-x86-chip-tool -gn gen --check --fail-on-unused-args {out}/android-androidstudio-x86-chip-tool '--args=target_os="android" target_cpu="x86" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' --ide=json --json-ide-script=//scripts/examples/gn_to_cmakelists.py - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-arm-chip-tool -gn gen --check --fail-on-unused-args {out}/android-arm-chip-tool '--args=target_os="android" target_cpu="arm" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-arm-tv-casting-app -gn gen --check --fail-on-unused-args {out}/android-arm-tv-casting-app '--args=target_os="android" target_cpu="arm" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" chip_config_network_layer_ble=false ' --root={root}/examples/tv-casting-app/android/ - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-arm-tv-server -gn gen --check --fail-on-unused-args {out}/android-arm-tv-server '--args=target_os="android" target_cpu="arm" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" chip_config_network_layer_ble=false ' --root={root}/examples/tv-app/android/ - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-arm64-chip-test -gn gen --check --fail-on-unused-args {out}/android-arm64-chip-test '--args=target_os="android" target_cpu="arm64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-arm64-chip-tool -gn gen --check --fail-on-unused-args {out}/android-arm64-chip-tool '--args=target_os="android" target_cpu="arm64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-arm64-tv-casting-app -gn gen --check --fail-on-unused-args {out}/android-arm64-tv-casting-app '--args=target_os="android" target_cpu="arm64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" chip_config_network_layer_ble=false ' --root={root}/examples/tv-casting-app/android/ - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-arm64-tv-server -gn gen --check --fail-on-unused-args {out}/android-arm64-tv-server '--args=target_os="android" target_cpu="arm64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" chip_config_network_layer_ble=false ' --root={root}/examples/tv-app/android/ - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-x64-chip-tool -gn gen --check --fail-on-unused-args {out}/android-x64-chip-tool '--args=target_os="android" target_cpu="x64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-x64-tv-server -gn gen --check --fail-on-unused-args {out}/android-x64-tv-server '--args=target_os="android" target_cpu="x64" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" chip_config_network_layer_ble=false ' --root={root}/examples/tv-app/android/ - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-x86-chip-tool -gn gen --check --fail-on-unused-args {out}/android-x86-chip-tool '--args=target_os="android" target_cpu="x86" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" ' - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Setting up Android deps through Gradle -python3 third_party/android_deps/set_up_android_deps.py - -# Generating android-x86-tv-server -gn gen --check --fail-on-unused-args {out}/android-x86-tv-server '--args=target_os="android" target_cpu="x86" android_ndk_root="TEST_ANDROID_NDK_HOME" android_sdk_root="TEST_ANDROID_HOME" chip_config_network_layer_ble=false ' --root={root}/examples/tv-app/android/ - -# Accepting NDK licenses @ tools -bash -c 'yes | TEST_ANDROID_HOME/tools/bin/sdkmanager --licenses >/dev/null' - -# Generating bl602-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/bouffalolab/bl602 '--args=bl602_board="BL-HWC-G1"' {out}/bl602-light - -# Generating cc13x2x7_26x2x7-all-clusters -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/cc13x2x7_26x2x7 '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT"' {out}/cc13x2x7_26x2x7-all-clusters - -# Generating cc13x2x7_26x2x7-all-clusters-minimal -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/cc13x2x7_26x2x7 '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT"' {out}/cc13x2x7_26x2x7-all-clusters-minimal - -# Generating cc13x2x7_26x2x7-lock-ftd -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/cc13x2x7_26x2x7 '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT" chip_openthread_ftd=true chip_progress_logging=false' {out}/cc13x2x7_26x2x7-lock-ftd - -# Generating cc13x2x7_26x2x7-lock-mtd -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/cc13x2x7_26x2x7 '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT" chip_openthread_ftd=false' {out}/cc13x2x7_26x2x7-lock-mtd - -# Generating cc13x2x7_26x2x7-pump -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/pump-app/cc13x2x7_26x2x7 '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT"' {out}/cc13x2x7_26x2x7-pump - -# Generating cc13x2x7_26x2x7-pump-controller -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/pump-controller-app/cc13x2x7_26x2x7 '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT"' {out}/cc13x2x7_26x2x7-pump-controller - -# Generating cc13x2x7_26x2x7-shell -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/shell/cc13x2x7_26x2x7 '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT"' {out}/cc13x2x7_26x2x7-shell - -# Generating cc32xx-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/cc32xx '--args=ti_sysconfig_root="TEST_TI_SYSCONFIG_ROOT"' {out}/cc32xx-lock - -# Generating cyw30739-cyw930739m2evb_01-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/infineon/cyw30739 {out}/cyw30739-cyw930739m2evb_01-light - -# Generating cyw30739-cyw930739m2evb_01-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/infineon/cyw30739 {out}/cyw30739-cyw930739m2evb_01-lock - -# Generating cyw30739-cyw930739m2evb_01-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/ota-requestor-app/infineon/cyw30739 {out}/cyw30739-cyw930739m2evb_01-ota-requestor - -# Generating cyw30739-cyw930739m2evb_01-ota-requestor-no-progress-logging -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/ota-requestor-app/infineon/cyw30739 --args=chip_progress_logging=false {out}/cyw30739-cyw930739m2evb_01-ota-requestor-no-progress-logging - -# Generating efr32-brd4161a-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4161A"' {out}/efr32-brd4161a-light - -# Generating efr32-brd4161a-light-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4161A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4161a-light-rpc - -# Generating efr32-brd4161a-light-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4161A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4161a-light-rpc-with-ota-requestor - -# Generating efr32-brd4161a-light-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4161A" chip_enable_ota_requestor=true' {out}/efr32-brd4161a-light-with-ota-requestor - -# Generating efr32-brd4161a-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4161A"' {out}/efr32-brd4161a-lock - -# Generating efr32-brd4161a-lock-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4161A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4161a-lock-rpc - -# Generating efr32-brd4161a-lock-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4161A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4161a-lock-rpc-with-ota-requestor - -# Generating efr32-brd4161a-lock-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4161A" chip_enable_ota_requestor=true' {out}/efr32-brd4161a-lock-with-ota-requestor - -# Generating efr32-brd4161a-switch -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4161A"' {out}/efr32-brd4161a-switch - -# Generating efr32-brd4161a-switch-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4161A" chip_enable_ota_requestor=true' {out}/efr32-brd4161a-switch-with-ota-requestor - -# Generating efr32-brd4161a-unit-test -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4161A"' {out}/efr32-brd4161a-unit-test - -# Generating efr32-brd4161a-unit-test-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4161A" chip_enable_ota_requestor=true' {out}/efr32-brd4161a-unit-test-with-ota-requestor - -# Generating efr32-brd4161a-window-covering -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4161A"' {out}/efr32-brd4161a-window-covering - -# Generating efr32-brd4161a-window-covering-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4161A" chip_enable_ota_requestor=true' {out}/efr32-brd4161a-window-covering-with-ota-requestor - -# Generating efr32-brd4163a-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4163A"' {out}/efr32-brd4163a-light - -# Generating efr32-brd4163a-light-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4163A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4163a-light-rpc - -# Generating efr32-brd4163a-light-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4163A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4163a-light-rpc-with-ota-requestor - -# Generating efr32-brd4163a-light-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4163A" chip_enable_ota_requestor=true' {out}/efr32-brd4163a-light-with-ota-requestor - -# Generating efr32-brd4163a-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4163A"' {out}/efr32-brd4163a-lock - -# Generating efr32-brd4163a-lock-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4163A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4163a-lock-rpc - -# Generating efr32-brd4163a-lock-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4163A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4163a-lock-rpc-with-ota-requestor - -# Generating efr32-brd4163a-lock-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4163A" chip_enable_ota_requestor=true' {out}/efr32-brd4163a-lock-with-ota-requestor - -# Generating efr32-brd4163a-switch -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4163A"' {out}/efr32-brd4163a-switch - -# Generating efr32-brd4163a-switch-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4163A" chip_enable_ota_requestor=true' {out}/efr32-brd4163a-switch-with-ota-requestor - -# Generating efr32-brd4163a-unit-test -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4163A"' {out}/efr32-brd4163a-unit-test - -# Generating efr32-brd4163a-unit-test-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4163A" chip_enable_ota_requestor=true' {out}/efr32-brd4163a-unit-test-with-ota-requestor - -# Generating efr32-brd4163a-window-covering -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4163A"' {out}/efr32-brd4163a-window-covering - -# Generating efr32-brd4163a-window-covering-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4163A" chip_enable_ota_requestor=true' {out}/efr32-brd4163a-window-covering-with-ota-requestor - -# Generating efr32-brd4164a-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4164A"' {out}/efr32-brd4164a-light - -# Generating efr32-brd4164a-light-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4164A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4164a-light-rpc - -# Generating efr32-brd4164a-light-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4164A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4164a-light-rpc-with-ota-requestor - -# Generating efr32-brd4164a-light-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4164A" chip_enable_ota_requestor=true' {out}/efr32-brd4164a-light-with-ota-requestor - -# Generating efr32-brd4164a-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4164A"' {out}/efr32-brd4164a-lock - -# Generating efr32-brd4164a-lock-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4164A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4164a-lock-rpc - -# Generating efr32-brd4164a-lock-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4164A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4164a-lock-rpc-with-ota-requestor - -# Generating efr32-brd4164a-lock-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4164A" chip_enable_ota_requestor=true' {out}/efr32-brd4164a-lock-with-ota-requestor - -# Generating efr32-brd4164a-switch -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4164A"' {out}/efr32-brd4164a-switch - -# Generating efr32-brd4164a-switch-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4164A" chip_enable_ota_requestor=true' {out}/efr32-brd4164a-switch-with-ota-requestor - -# Generating efr32-brd4164a-unit-test -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4164A"' {out}/efr32-brd4164a-unit-test - -# Generating efr32-brd4164a-unit-test-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4164A" chip_enable_ota_requestor=true' {out}/efr32-brd4164a-unit-test-with-ota-requestor - -# Generating efr32-brd4164a-window-covering -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4164A"' {out}/efr32-brd4164a-window-covering - -# Generating efr32-brd4164a-window-covering-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4164A" chip_enable_ota_requestor=true' {out}/efr32-brd4164a-window-covering-with-ota-requestor - -# Generating efr32-brd4166a-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4166A"' {out}/efr32-brd4166a-light - -# Generating efr32-brd4166a-light-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4166A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4166a-light-rpc - -# Generating efr32-brd4166a-light-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4166A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4166a-light-rpc-with-ota-requestor - -# Generating efr32-brd4166a-light-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4166A" chip_enable_ota_requestor=true' {out}/efr32-brd4166a-light-with-ota-requestor - -# Generating efr32-brd4166a-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4166A"' {out}/efr32-brd4166a-lock - -# Generating efr32-brd4166a-lock-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4166A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4166a-lock-rpc - -# Generating efr32-brd4166a-lock-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4166A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4166a-lock-rpc-with-ota-requestor - -# Generating efr32-brd4166a-lock-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4166A" chip_enable_ota_requestor=true' {out}/efr32-brd4166a-lock-with-ota-requestor - -# Generating efr32-brd4166a-switch -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4166A"' {out}/efr32-brd4166a-switch - -# Generating efr32-brd4166a-switch-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4166A" chip_enable_ota_requestor=true' {out}/efr32-brd4166a-switch-with-ota-requestor - -# Generating efr32-brd4166a-unit-test -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4166A"' {out}/efr32-brd4166a-unit-test - -# Generating efr32-brd4166a-unit-test-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4166A" chip_enable_ota_requestor=true' {out}/efr32-brd4166a-unit-test-with-ota-requestor - -# Generating efr32-brd4166a-window-covering -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4166A"' {out}/efr32-brd4166a-window-covering - -# Generating efr32-brd4166a-window-covering-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4166A" chip_enable_ota_requestor=true' {out}/efr32-brd4166a-window-covering-with-ota-requestor - -# Generating efr32-brd4170a-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4170A"' {out}/efr32-brd4170a-light - -# Generating efr32-brd4170a-light-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4170A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4170a-light-rpc - -# Generating efr32-brd4170a-light-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4170A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4170a-light-rpc-with-ota-requestor - -# Generating efr32-brd4170a-light-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4170A" chip_enable_ota_requestor=true' {out}/efr32-brd4170a-light-with-ota-requestor - -# Generating efr32-brd4170a-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4170A"' {out}/efr32-brd4170a-lock - -# Generating efr32-brd4170a-lock-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4170A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4170a-lock-rpc - -# Generating efr32-brd4170a-lock-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4170A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4170a-lock-rpc-with-ota-requestor - -# Generating efr32-brd4170a-lock-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4170A" chip_enable_ota_requestor=true' {out}/efr32-brd4170a-lock-with-ota-requestor - -# Generating efr32-brd4170a-switch -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4170A"' {out}/efr32-brd4170a-switch - -# Generating efr32-brd4170a-switch-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4170A" chip_enable_ota_requestor=true' {out}/efr32-brd4170a-switch-with-ota-requestor - -# Generating efr32-brd4170a-unit-test -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4170A"' {out}/efr32-brd4170a-unit-test - -# Generating efr32-brd4170a-unit-test-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4170A" chip_enable_ota_requestor=true' {out}/efr32-brd4170a-unit-test-with-ota-requestor - -# Generating efr32-brd4170a-window-covering -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4170A"' {out}/efr32-brd4170a-window-covering - -# Generating efr32-brd4170a-window-covering-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4170A" chip_enable_ota_requestor=true' {out}/efr32-brd4170a-window-covering-with-ota-requestor - -# Generating efr32-brd4186a-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4186A"' {out}/efr32-brd4186a-light - -# Generating efr32-brd4186a-light-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4186A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4186a-light-rpc - -# Generating efr32-brd4186a-light-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4186A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4186a-light-rpc-with-ota-requestor - -# Generating efr32-brd4186a-light-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4186A" chip_enable_ota_requestor=true' {out}/efr32-brd4186a-light-with-ota-requestor - -# Generating efr32-brd4186a-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4186A"' {out}/efr32-brd4186a-lock - -# Generating efr32-brd4186a-lock-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4186A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4186a-lock-rpc - -# Generating efr32-brd4186a-lock-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4186A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4186a-lock-rpc-with-ota-requestor - -# Generating efr32-brd4186a-lock-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4186A" chip_enable_ota_requestor=true' {out}/efr32-brd4186a-lock-with-ota-requestor - -# Generating efr32-brd4186a-switch -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4186A"' {out}/efr32-brd4186a-switch - -# Generating efr32-brd4186a-switch-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4186A" chip_enable_ota_requestor=true' {out}/efr32-brd4186a-switch-with-ota-requestor - -# Generating efr32-brd4186a-unit-test -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4186A"' {out}/efr32-brd4186a-unit-test - -# Generating efr32-brd4186a-unit-test-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4186A" chip_enable_ota_requestor=true' {out}/efr32-brd4186a-unit-test-with-ota-requestor - -# Generating efr32-brd4186a-window-covering -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4186A"' {out}/efr32-brd4186a-window-covering - -# Generating efr32-brd4186a-window-covering-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4186A" chip_enable_ota_requestor=true' {out}/efr32-brd4186a-window-covering-with-ota-requestor - -# Generating efr32-brd4187a-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4187A"' {out}/efr32-brd4187a-light - -# Generating efr32-brd4187a-light-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4187A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4187a-light-rpc - -# Generating efr32-brd4187a-light-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4187A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4187a-light-rpc-with-ota-requestor - -# Generating efr32-brd4187a-light-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4187A" chip_enable_ota_requestor=true' {out}/efr32-brd4187a-light-with-ota-requestor - -# Generating efr32-brd4187a-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4187A"' {out}/efr32-brd4187a-lock - -# Generating efr32-brd4187a-lock-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4187A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4187a-lock-rpc - -# Generating efr32-brd4187a-lock-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4187A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4187a-lock-rpc-with-ota-requestor - -# Generating efr32-brd4187a-lock-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4187A" chip_enable_ota_requestor=true' {out}/efr32-brd4187a-lock-with-ota-requestor - -# Generating efr32-brd4187a-switch -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4187A"' {out}/efr32-brd4187a-switch - -# Generating efr32-brd4187a-switch-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4187A" chip_enable_ota_requestor=true' {out}/efr32-brd4187a-switch-with-ota-requestor - -# Generating efr32-brd4187a-unit-test -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4187A"' {out}/efr32-brd4187a-unit-test - -# Generating efr32-brd4187a-unit-test-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4187A" chip_enable_ota_requestor=true' {out}/efr32-brd4187a-unit-test-with-ota-requestor - -# Generating efr32-brd4187a-window-covering -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4187A"' {out}/efr32-brd4187a-window-covering - -# Generating efr32-brd4187a-window-covering-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4187A" chip_enable_ota_requestor=true' {out}/efr32-brd4187a-window-covering-with-ota-requestor - -# Generating efr32-brd4304a-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4304A"' {out}/efr32-brd4304a-light - -# Generating efr32-brd4304a-light-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4304A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4304a-light-rpc - -# Generating efr32-brd4304a-light-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4304A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4304a-light-rpc-with-ota-requestor - -# Generating efr32-brd4304a-light-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/efr32 '--args=efr32_board="BRD4304A" chip_enable_ota_requestor=true' {out}/efr32-brd4304a-light-with-ota-requestor - -# Generating efr32-brd4304a-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4304A"' {out}/efr32-brd4304a-lock - -# Generating efr32-brd4304a-lock-rpc -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4304A" is_debug=false import("//with_pw_rpc.gni")' {out}/efr32-brd4304a-lock-rpc - -# Generating efr32-brd4304a-lock-rpc-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4304A" is_debug=false import("//with_pw_rpc.gni") chip_enable_ota_requestor=true' {out}/efr32-brd4304a-lock-rpc-with-ota-requestor - -# Generating efr32-brd4304a-lock-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/efr32 '--args=efr32_board="BRD4304A" chip_enable_ota_requestor=true' {out}/efr32-brd4304a-lock-with-ota-requestor - -# Generating efr32-brd4304a-switch -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4304A"' {out}/efr32-brd4304a-switch - -# Generating efr32-brd4304a-switch-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/light-switch-app/efr32 '--args=efr32_board="BRD4304A" chip_enable_ota_requestor=true' {out}/efr32-brd4304a-switch-with-ota-requestor - -# Generating efr32-brd4304a-unit-test -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4304A"' {out}/efr32-brd4304a-unit-test - -# Generating efr32-brd4304a-unit-test-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/src/test_driver/efr32 '--args=efr32_board="BRD4304A" chip_enable_ota_requestor=true' {out}/efr32-brd4304a-unit-test-with-ota-requestor - -# Generating efr32-brd4304a-window-covering -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4304A"' {out}/efr32-brd4304a-window-covering - -# Generating efr32-brd4304a-window-covering-with-ota-requestor -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/window-app/efr32 '--args=efr32_board="BRD4304A" chip_enable_ota_requestor=true' {out}/efr32-brd4304a-window-covering-with-ota-requestor - -# Generating esp32-c3devkit-all-clusters -mkdir -p {out}/esp32-c3devkit-all-clusters - -cp examples/all-clusters-app/esp32/sdkconfig_c3devkit.defaults {out}/esp32-c3devkit-all-clusters/sdkconfig.defaults - -rm -f examples/all-clusters-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-c3devkit-all-clusters/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-c3devkit-all-clusters reconfigure' - -# Generating esp32-c3devkit-all-clusters-minimal -mkdir -p {out}/esp32-c3devkit-all-clusters-minimal - -cp examples/all-clusters-minimal-app/esp32/sdkconfig_c3devkit.defaults {out}/esp32-c3devkit-all-clusters-minimal/sdkconfig.defaults - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-c3devkit-all-clusters-minimal/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-c3devkit-all-clusters-minimal reconfigure' - -# Generating esp32-devkitc-all-clusters -mkdir -p {out}/esp32-devkitc-all-clusters - -cp examples/all-clusters-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-all-clusters/sdkconfig.defaults - -rm -f examples/all-clusters-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-all-clusters/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-devkitc-all-clusters reconfigure' - -# Generating esp32-devkitc-all-clusters-ipv6only -mkdir -p {out}/esp32-devkitc-all-clusters-ipv6only - -cp examples/all-clusters-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-all-clusters-ipv6only/sdkconfig.defaults - -rm -f examples/all-clusters-app/esp32/sdkconfig - -bash -c 'echo -e "\nCONFIG_DISABLE_IPV4=y\n" >>{out}/esp32-devkitc-all-clusters-ipv6only/sdkconfig.defaults' - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-all-clusters-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-devkitc-all-clusters-ipv6only reconfigure' - -# Generating esp32-devkitc-all-clusters-minimal -mkdir -p {out}/esp32-devkitc-all-clusters-minimal - -cp examples/all-clusters-minimal-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-all-clusters-minimal/sdkconfig.defaults - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-all-clusters-minimal/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-devkitc-all-clusters-minimal reconfigure' - -# Generating esp32-devkitc-all-clusters-minimal-ipv6only -mkdir -p {out}/esp32-devkitc-all-clusters-minimal-ipv6only - -cp examples/all-clusters-minimal-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-all-clusters-minimal-ipv6only/sdkconfig.defaults - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -bash -c 'echo -e "\nCONFIG_DISABLE_IPV4=y\n" >>{out}/esp32-devkitc-all-clusters-minimal-ipv6only/sdkconfig.defaults' - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-all-clusters-minimal-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-devkitc-all-clusters-minimal-ipv6only reconfigure' - -# Generating esp32-devkitc-bridge -mkdir -p {out}/esp32-devkitc-bridge - -cp examples/bridge-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-bridge/sdkconfig.defaults - -rm -f examples/bridge-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-bridge/sdkconfig.defaults -idf.py -C examples/bridge-app/esp32 -B {out}/esp32-devkitc-bridge reconfigure' - -# Generating esp32-devkitc-light -mkdir -p {out}/esp32-devkitc-light - -cp examples/lighting-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-light/sdkconfig.defaults - -rm -f examples/lighting-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-light/sdkconfig.defaults -idf.py -C examples/lighting-app/esp32 -B {out}/esp32-devkitc-light reconfigure' - -# Generating esp32-devkitc-lock -mkdir -p {out}/esp32-devkitc-lock - -cp examples/lock-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-lock/sdkconfig.defaults - -rm -f examples/lock-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-lock/sdkconfig.defaults -idf.py -C examples/lock-app/esp32 -B {out}/esp32-devkitc-lock reconfigure' - -# Generating esp32-devkitc-ota-requestor -mkdir -p {out}/esp32-devkitc-ota-requestor - -cp examples/ota-requestor-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-ota-requestor/sdkconfig.defaults - -rm -f examples/ota-requestor-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-ota-requestor/sdkconfig.defaults -idf.py -C examples/ota-requestor-app/esp32 -B {out}/esp32-devkitc-ota-requestor reconfigure' - -# Generating esp32-devkitc-ota-requestor-rpc -mkdir -p {out}/esp32-devkitc-ota-requestor-rpc - -cp examples/ota-requestor-app/esp32/sdkconfig_rpc.defaults {out}/esp32-devkitc-ota-requestor-rpc/sdkconfig.defaults - -rm -f examples/ota-requestor-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-ota-requestor-rpc/sdkconfig.defaults -idf.py -C examples/ota-requestor-app/esp32 -B {out}/esp32-devkitc-ota-requestor-rpc reconfigure' - -# Generating esp32-devkitc-shell -mkdir -p {out}/esp32-devkitc-shell - -cp examples/shell/esp32/sdkconfig.defaults {out}/esp32-devkitc-shell/sdkconfig.defaults - -rm -f examples/shell/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-shell/sdkconfig.defaults -idf.py -C examples/shell/esp32 -B {out}/esp32-devkitc-shell reconfigure' - -# Generating esp32-devkitc-temperature-measurement -mkdir -p {out}/esp32-devkitc-temperature-measurement - -cp examples/temperature-measurement-app/esp32/sdkconfig.defaults {out}/esp32-devkitc-temperature-measurement/sdkconfig.defaults - -rm -f examples/temperature-measurement-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-temperature-measurement/sdkconfig.defaults -idf.py -C examples/temperature-measurement-app/esp32 -B {out}/esp32-devkitc-temperature-measurement reconfigure' - -# Generating esp32-devkitc-temperature-measurement-rpc -mkdir -p {out}/esp32-devkitc-temperature-measurement-rpc - -cp examples/temperature-measurement-app/esp32/sdkconfig_rpc.defaults {out}/esp32-devkitc-temperature-measurement-rpc/sdkconfig.defaults - -rm -f examples/temperature-measurement-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-temperature-measurement-rpc/sdkconfig.defaults -idf.py -C examples/temperature-measurement-app/esp32 -B {out}/esp32-devkitc-temperature-measurement-rpc reconfigure' - -# Generating esp32-m5stack-all-clusters -mkdir -p {out}/esp32-m5stack-all-clusters - -cp examples/all-clusters-app/esp32/sdkconfig_m5stack.defaults {out}/esp32-m5stack-all-clusters/sdkconfig.defaults - -rm -f examples/all-clusters-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-m5stack-all-clusters reconfigure' - -# Generating esp32-m5stack-all-clusters-ipv6only -mkdir -p {out}/esp32-m5stack-all-clusters-ipv6only - -cp examples/all-clusters-app/esp32/sdkconfig_m5stack.defaults {out}/esp32-m5stack-all-clusters-ipv6only/sdkconfig.defaults - -rm -f examples/all-clusters-app/esp32/sdkconfig - -bash -c 'echo -e "\nCONFIG_DISABLE_IPV4=y\n" >>{out}/esp32-m5stack-all-clusters-ipv6only/sdkconfig.defaults' - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-m5stack-all-clusters-ipv6only reconfigure' - -# Generating esp32-m5stack-all-clusters-minimal -mkdir -p {out}/esp32-m5stack-all-clusters-minimal - -cp examples/all-clusters-minimal-app/esp32/sdkconfig_m5stack.defaults {out}/esp32-m5stack-all-clusters-minimal/sdkconfig.defaults - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal reconfigure' - -# Generating esp32-m5stack-all-clusters-minimal-ipv6only -mkdir -p {out}/esp32-m5stack-all-clusters-minimal-ipv6only - -cp examples/all-clusters-minimal-app/esp32/sdkconfig_m5stack.defaults {out}/esp32-m5stack-all-clusters-minimal-ipv6only/sdkconfig.defaults - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -bash -c 'echo -e "\nCONFIG_DISABLE_IPV4=y\n" >>{out}/esp32-m5stack-all-clusters-minimal-ipv6only/sdkconfig.defaults' - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal-ipv6only reconfigure' - -# Generating esp32-m5stack-all-clusters-minimal-rpc -mkdir -p {out}/esp32-m5stack-all-clusters-minimal-rpc - -cp examples/all-clusters-minimal-app/esp32/sdkconfig_m5stack_rpc.defaults {out}/esp32-m5stack-all-clusters-minimal-rpc/sdkconfig.defaults - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal-rpc/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal-rpc reconfigure' - -# Generating esp32-m5stack-all-clusters-minimal-rpc-ipv6only -mkdir -p {out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only - -cp examples/all-clusters-minimal-app/esp32/sdkconfig_m5stack_rpc.defaults {out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -bash -c 'echo -e "\nCONFIG_DISABLE_IPV4=y\n" >>{out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults' - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only reconfigure' - -# Generating esp32-m5stack-all-clusters-rpc -mkdir -p {out}/esp32-m5stack-all-clusters-rpc - -cp examples/all-clusters-app/esp32/sdkconfig_m5stack_rpc.defaults {out}/esp32-m5stack-all-clusters-rpc/sdkconfig.defaults - -rm -f examples/all-clusters-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-rpc/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-m5stack-all-clusters-rpc reconfigure' - -# Generating esp32-m5stack-all-clusters-rpc-ipv6only -mkdir -p {out}/esp32-m5stack-all-clusters-rpc-ipv6only - -cp examples/all-clusters-app/esp32/sdkconfig_m5stack_rpc.defaults {out}/esp32-m5stack-all-clusters-rpc-ipv6only/sdkconfig.defaults - -rm -f examples/all-clusters-app/esp32/sdkconfig - -bash -c 'echo -e "\nCONFIG_DISABLE_IPV4=y\n" >>{out}/esp32-m5stack-all-clusters-rpc-ipv6only/sdkconfig.defaults' - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-rpc-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-m5stack-all-clusters-rpc-ipv6only reconfigure' - -# Generating esp32-m5stack-ota-requestor -mkdir -p {out}/esp32-m5stack-ota-requestor - -cp examples/ota-requestor-app/esp32/sdkconfig_m5stack.defaults {out}/esp32-m5stack-ota-requestor/sdkconfig.defaults - -rm -f examples/ota-requestor-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-ota-requestor/sdkconfig.defaults -idf.py -C examples/ota-requestor-app/esp32 -B {out}/esp32-m5stack-ota-requestor reconfigure' - -# Generating esp32-m5stack-ota-requestor-rpc -mkdir -p {out}/esp32-m5stack-ota-requestor-rpc - -cp examples/ota-requestor-app/esp32/sdkconfig_m5stack_rpc.defaults {out}/esp32-m5stack-ota-requestor-rpc/sdkconfig.defaults - -rm -f examples/ota-requestor-app/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-ota-requestor-rpc/sdkconfig.defaults -idf.py -C examples/ota-requestor-app/esp32 -B {out}/esp32-m5stack-ota-requestor-rpc reconfigure' - -# Generating esp32-qemu-tests -mkdir -p {out}/esp32-qemu-tests - -cp src/test_driver/esp32/sdkconfig_qemu.defaults {out}/esp32-qemu-tests/sdkconfig.defaults - -rm -f src/test_driver/esp32/sdkconfig - -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-qemu-tests/sdkconfig.defaults -idf.py -C src/test_driver/esp32 -B {out}/esp32-qemu-tests reconfigure' - -# Generating imx-all-clusters-app -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" optimize_debug=true' {out}/imx-all-clusters-app - -# Generating imx-all-clusters-app-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" is_debug=false' {out}/imx-all-clusters-app-release - -# Generating imx-all-clusters-minimal-app -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" optimize_debug=true' {out}/imx-all-clusters-minimal-app - -# Generating imx-all-clusters-minimal-app-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" is_debug=false' {out}/imx-all-clusters-minimal-app-release - -# Generating imx-chip-tool -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" optimize_debug=true' {out}/imx-chip-tool - -# Generating imx-chip-tool-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" is_debug=false' {out}/imx-chip-tool-release - -# Generating imx-lighting-app -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" optimize_debug=true' {out}/imx-lighting-app - -# Generating imx-lighting-app-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" is_debug=false' {out}/imx-lighting-app-release - -# Generating imx-ota-provider-app -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/ota-provider-app/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" optimize_debug=true' {out}/imx-ota-provider-app - -# Generating imx-ota-provider-app-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/ota-provider-app/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" is_debug=false' {out}/imx-ota-provider-app-release - -# Generating imx-thermostat -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/thermostat/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" optimize_debug=true' {out}/imx-thermostat - -# Generating imx-thermostat-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/thermostat/linux '--args=treat_warnings_as_errors=false target_os="linux" target_cpu="arm64" arm_arch="armv8-a" import("//build_overrides/build.gni") custom_toolchain="${build_root}/toolchain/custom" sysroot="IMX_SDK_ROOT/sysroots/cortexa53-crypto-poky-linux" target_cflags=[ "-DCHIP_DEVICE_CONFIG_WIFI_STATION_IF_NAME=\"mlan0\"", "-DCHIP_DEVICE_CONFIG_LINUX_DHCPC_CMD=\"udhcpc -b -i %s \"" ] target_cc="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-gcc" target_cxx="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-g++" target_ar="IMX_SDK_ROOT/sysroots/x86_64-pokysdk-linux/usr/bin/aarch64-poky-linux/aarch64-poky-linux-ar" is_debug=false' {out}/imx-thermostat-release - -# Generating infineon-psoc6-all-clusters -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012"' {out}/infineon-psoc6-all-clusters - -# Generating infineon-psoc6-all-clusters-minimal -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012"' {out}/infineon-psoc6-all-clusters-minimal - -# Generating infineon-psoc6-all-clusters-minimal-ota -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" chip_enable_ota_requestor=true' {out}/infineon-psoc6-all-clusters-minimal-ota - -# Generating infineon-psoc6-all-clusters-minimal-ota-updateimage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" chip_enable_ota_requestor=true build_update_image=true' {out}/infineon-psoc6-all-clusters-minimal-ota-updateimage - -# Generating infineon-psoc6-all-clusters-minimal-updateimage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" build_update_image=true' {out}/infineon-psoc6-all-clusters-minimal-updateimage - -# Generating infineon-psoc6-all-clusters-ota -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" chip_enable_ota_requestor=true' {out}/infineon-psoc6-all-clusters-ota - -# Generating infineon-psoc6-all-clusters-ota-updateimage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" chip_enable_ota_requestor=true build_update_image=true' {out}/infineon-psoc6-all-clusters-ota-updateimage - -# Generating infineon-psoc6-all-clusters-updateimage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" build_update_image=true' {out}/infineon-psoc6-all-clusters-updateimage - -# Generating infineon-psoc6-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012"' {out}/infineon-psoc6-light - -# Generating infineon-psoc6-light-ota -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" chip_enable_ota_requestor=true' {out}/infineon-psoc6-light-ota - -# Generating infineon-psoc6-light-ota-updateimage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" chip_enable_ota_requestor=true build_update_image=true' {out}/infineon-psoc6-light-ota-updateimage - -# Generating infineon-psoc6-light-updateimage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" build_update_image=true' {out}/infineon-psoc6-light-updateimage - -# Generating infineon-psoc6-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012"' {out}/infineon-psoc6-lock - -# Generating infineon-psoc6-lock-ota -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" chip_enable_ota_requestor=true' {out}/infineon-psoc6-lock-ota - -# Generating infineon-psoc6-lock-ota-updateimage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" chip_enable_ota_requestor=true build_update_image=true' {out}/infineon-psoc6-lock-ota-updateimage - -# Generating infineon-psoc6-lock-updateimage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/infineon/psoc6 '--args=psoc6_board="CY8CKIT-062S2-43012" build_update_image=true' {out}/infineon-psoc6-lock-updateimage - -{root}/third_party/nxp/k32w0_sdk/sdk_fixes/patch_k32w_sdk.sh - -# Generating k32w-light-ota-se -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/nxp/k32w/k32w0 '--args=k32w0_sdk_root="TEST_NXP_K32W0_SDK_ROOT" chip_with_low_power=0 is_debug=false chip_enable_ble=false chip_with_se05x=true' {out}/k32w-light-ota-se - -{root}/third_party/nxp/k32w0_sdk/sdk_fixes/patch_k32w_sdk.sh - -# Generating k32w-light-release-no-ota -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/nxp/k32w/k32w0 '--args=k32w0_sdk_root="TEST_NXP_K32W0_SDK_ROOT" chip_with_low_power=0 chip_pw_tokenizer_logging=true is_debug=false chip_enable_ota_requestor=false chip_crypto="tinycrypt" mbedtls_repo="//third_party/connectedhomeip/third_party/nxp/libs/mbedtls"' {out}/k32w-light-release-no-ota - -{root}/third_party/nxp/k32w0_sdk/sdk_fixes/patch_k32w_sdk.sh - -# Generating k32w-lock-low-power-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/nxp/k32w/k32w0 '--args=k32w0_sdk_root="TEST_NXP_K32W0_SDK_ROOT" chip_with_low_power=1 is_debug=false' {out}/k32w-lock-low-power-release - -{root}/third_party/nxp/k32w0_sdk/sdk_fixes/patch_k32w_sdk.sh - -# Generating k32w-lock-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/nxp/k32w/k32w0 '--args=k32w0_sdk_root="TEST_NXP_K32W0_SDK_ROOT" chip_with_low_power=0 is_debug=false' {out}/k32w-lock-release - -{root}/third_party/nxp/k32w0_sdk/sdk_fixes/patch_k32w_sdk.sh - -# Generating k32w-shell-release -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/shell/nxp/k32w/k32w0 '--args=k32w0_sdk_root="TEST_NXP_K32W0_SDK_ROOT" chip_with_low_power=0 is_debug=false' {out}/k32w-shell-release - -# Generating config mbed-CY8CPROTO_062_4343W-all-clusters-debug -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/all-clusters-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-all-clusters-debug --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-all-clusters-debug -cmake -S {root}/examples/all-clusters-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-all-clusters-debug -GNinja -DCMAKE_BUILD_TYPE=debug -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-all-clusters-develop -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/all-clusters-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-all-clusters-develop --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-all-clusters-develop -cmake -S {root}/examples/all-clusters-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-all-clusters-develop -GNinja -DCMAKE_BUILD_TYPE=develop -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/all-clusters-minimal-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug -cmake -S {root}/examples/all-clusters-minimal-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug -GNinja -DCMAKE_BUILD_TYPE=debug -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/all-clusters-minimal-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop -cmake -S {root}/examples/all-clusters-minimal-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop -GNinja -DCMAKE_BUILD_TYPE=develop -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/all-clusters-minimal-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release -cmake -S {root}/examples/all-clusters-minimal-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release -GNinja -DCMAKE_BUILD_TYPE=release -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-all-clusters-release -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/all-clusters-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-all-clusters-release --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-all-clusters-release -cmake -S {root}/examples/all-clusters-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-all-clusters-release -GNinja -DCMAKE_BUILD_TYPE=release -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-light-debug -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/lighting-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-light-debug --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-light-debug -cmake -S {root}/examples/lighting-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-light-debug -GNinja -DCMAKE_BUILD_TYPE=debug -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-light-develop -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/lighting-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-light-develop --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-light-develop -cmake -S {root}/examples/lighting-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-light-develop -GNinja -DCMAKE_BUILD_TYPE=develop -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-light-release -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/lighting-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-light-release --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-light-release -cmake -S {root}/examples/lighting-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-light-release -GNinja -DCMAKE_BUILD_TYPE=release -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-lock-debug -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/lock-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-lock-debug --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-lock-debug -cmake -S {root}/examples/lock-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-lock-debug -GNinja -DCMAKE_BUILD_TYPE=debug -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-lock-develop -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/lock-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-lock-develop --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-lock-develop -cmake -S {root}/examples/lock-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-lock-develop -GNinja -DCMAKE_BUILD_TYPE=develop -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-lock-release -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/lock-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-lock-release --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-lock-release -cmake -S {root}/examples/lock-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-lock-release -GNinja -DCMAKE_BUILD_TYPE=release -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-pigweed-debug -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/pigweed-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-pigweed-debug --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-pigweed-debug -cmake -S {root}/examples/pigweed-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-pigweed-debug -GNinja -DCMAKE_BUILD_TYPE=debug -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-pigweed-develop -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/pigweed-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-pigweed-develop --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-pigweed-develop -cmake -S {root}/examples/pigweed-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-pigweed-develop -GNinja -DCMAKE_BUILD_TYPE=develop -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-pigweed-release -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/pigweed-app/mbed -o {out}/mbed-CY8CPROTO_062_4343W-pigweed-release --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-pigweed-release -cmake -S {root}/examples/pigweed-app/mbed -B {out}/mbed-CY8CPROTO_062_4343W-pigweed-release -GNinja -DCMAKE_BUILD_TYPE=release -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-shell-debug -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/shell/mbed -o {out}/mbed-CY8CPROTO_062_4343W-shell-debug --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-shell-debug -cmake -S {root}/examples/shell/mbed -B {out}/mbed-CY8CPROTO_062_4343W-shell-debug -GNinja -DCMAKE_BUILD_TYPE=debug -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-shell-develop -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/shell/mbed -o {out}/mbed-CY8CPROTO_062_4343W-shell-develop --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-shell-develop -cmake -S {root}/examples/shell/mbed -B {out}/mbed-CY8CPROTO_062_4343W-shell-develop -GNinja -DCMAKE_BUILD_TYPE=develop -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating config mbed-CY8CPROTO_062_4343W-shell-release -mbed-tools configure -t GCC_ARM -m CY8CPROTO_062_4343W -p {root}/examples/shell/mbed -o {out}/mbed-CY8CPROTO_062_4343W-shell-release --mbed-os-path {root}/third_party/mbed-os/repo - -# Generating mbed-CY8CPROTO_062_4343W-shell-release -cmake -S {root}/examples/shell/mbed -B {out}/mbed-CY8CPROTO_062_4343W-shell-release -GNinja -DCMAKE_BUILD_TYPE=release -DMBED_OS_PATH={root}/third_party/mbed-os/repo -DMBED_OS_POSIX_SOCKET_PATH={root}/third_party/mbed-os-posix-socket/repo - -# Generating mw320-all-clusters-app -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/nxp/mw320 {out}/mw320-all-clusters-app - -# Generating nrf-native-posix-64-tests -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-native-posix-64-tests -b native_posix_64 {root}/src/test_driver/nrfconnect' - -# Generating nrf-nrf52840dk-all-clusters -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dk-all-clusters -b nrf52840dk_nrf52840 {root}/examples/all-clusters-app/nrfconnect' - -# Generating nrf-nrf52840dk-all-clusters-minimal -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dk-all-clusters-minimal -b nrf52840dk_nrf52840 {root}/examples/all-clusters-minimal-app/nrfconnect' - -# Generating nrf-nrf52840dk-light -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dk-light -b nrf52840dk_nrf52840 {root}/examples/lighting-app/nrfconnect' - -# Generating nrf-nrf52840dk-light-rpc -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dk-light-rpc -b nrf52840dk_nrf52840 {root}/examples/lighting-app/nrfconnect -- -DOVERLAY_CONFIG=rpc.overlay' - -# Generating nrf-nrf52840dk-lock -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dk-lock -b nrf52840dk_nrf52840 {root}/examples/lock-app/nrfconnect' - -# Generating nrf-nrf52840dk-pump -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dk-pump -b nrf52840dk_nrf52840 {root}/examples/pump-app/nrfconnect' - -# Generating nrf-nrf52840dk-pump-controller -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dk-pump-controller -b nrf52840dk_nrf52840 {root}/examples/pump-controller-app/nrfconnect' - -# Generating nrf-nrf52840dk-shell -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dk-shell -b nrf52840dk_nrf52840 {root}/examples/shell/nrfconnect' - -# Generating nrf-nrf52840dongle-all-clusters -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dongle-all-clusters -b nrf52840dongle_nrf52840 {root}/examples/all-clusters-app/nrfconnect' - -# Generating nrf-nrf52840dongle-all-clusters-minimal -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dongle-all-clusters-minimal -b nrf52840dongle_nrf52840 {root}/examples/all-clusters-minimal-app/nrfconnect' - -# Generating nrf-nrf52840dongle-light -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf52840dongle-light -b nrf52840dongle_nrf52840 {root}/examples/lighting-app/nrfconnect -- -DCONF_FILE=prj_no_dfu.conf' - -# Generating nrf-nrf5340dk-all-clusters -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf5340dk-all-clusters -b nrf5340dk_nrf5340_cpuapp {root}/examples/all-clusters-app/nrfconnect' - -# Generating nrf-nrf5340dk-all-clusters-minimal -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf5340dk-all-clusters-minimal -b nrf5340dk_nrf5340_cpuapp {root}/examples/all-clusters-minimal-app/nrfconnect' - -# Generating nrf-nrf5340dk-light -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf5340dk-light -b nrf5340dk_nrf5340_cpuapp {root}/examples/lighting-app/nrfconnect' - -# Generating nrf-nrf5340dk-light-rpc -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf5340dk-light-rpc -b nrf5340dk_nrf5340_cpuapp {root}/examples/lighting-app/nrfconnect -- -DOVERLAY_CONFIG=rpc.overlay' - -# Generating nrf-nrf5340dk-lock -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf5340dk-lock -b nrf5340dk_nrf5340_cpuapp {root}/examples/lock-app/nrfconnect' - -# Generating nrf-nrf5340dk-pump -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf5340dk-pump -b nrf5340dk_nrf5340_cpuapp {root}/examples/pump-app/nrfconnect' - -# Generating nrf-nrf5340dk-pump-controller -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf5340dk-pump-controller -b nrf5340dk_nrf5340_cpuapp {root}/examples/pump-controller-app/nrfconnect' - -# Generating nrf-nrf5340dk-shell -bash -c 'source "$ZEPHYR_BASE/zephyr-env.sh"; -export GNUARMEMB_TOOLCHAIN_PATH="$PW_ARM_CIPD_INSTALL_DIR"; -west build --cmake-only -d {out}/nrf-nrf5340dk-shell -b nrf5340dk_nrf5340_cpuapp {root}/examples/shell/nrfconnect' - -# Generating qpg-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/qpg '--args=qpg_target_ic="qpg6105"' {out}/qpg-light - -# Generating qpg-lock -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lock-app/qpg '--args=qpg_target_ic="qpg6105"' {out}/qpg-lock - -# Generating qpg-persistent-storage -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/persistent-storage/qpg '--args=qpg_target_ic="qpg6105"' {out}/qpg-persistent-storage - -# Generating qpg-shell -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/shell/qpg '--args=qpg_target_ic="qpg6105"' {out}/qpg-shell - -# Generating telink-tlsr9518adk80d-light -bash -c 'export ZEPHYR_BASE="$TELINK_ZEPHYR_BASE" -export ZEPHYR_SDK_INSTALL_DIR="$TELINK_ZEPHYR_SDK_DIR" -export ZEPHYR_TOOLCHAIN_VARIANT=zephyr -source "$ZEPHYR_BASE/zephyr-env.sh"; -west build --cmake-only -d {out}/telink-tlsr9518adk80d-light -b tlsr9518adk80d {root}/examples/lighting-app/telink' - -# Generating telink-tlsr9518adk80d-light-switch -bash -c 'export ZEPHYR_BASE="$TELINK_ZEPHYR_BASE" -export ZEPHYR_SDK_INSTALL_DIR="$TELINK_ZEPHYR_SDK_DIR" -export ZEPHYR_TOOLCHAIN_VARIANT=zephyr -source "$ZEPHYR_BASE/zephyr-env.sh"; -west build --cmake-only -d {out}/telink-tlsr9518adk80d-light-switch -b tlsr9518adk80d {root}/examples/light-switch-app/telink' - -# Generating tizen-arm-all-clusters -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/tizen '--args=target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters - -# Generating tizen-arm-all-clusters-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/tizen '--args=is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-asan - -# Generating tizen-arm-all-clusters-minimal -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/tizen '--args=target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-minimal - -# Generating tizen-arm-all-clusters-minimal-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/tizen '--args=is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-minimal-asan - -# Generating tizen-arm-all-clusters-minimal-no-ble -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/tizen '--args=chip_config_network_layer_ble=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-minimal-no-ble - -# Generating tizen-arm-all-clusters-minimal-no-ble-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/tizen '--args=chip_config_network_layer_ble=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-minimal-no-ble-asan - -# Generating tizen-arm-all-clusters-minimal-no-ble-no-wifi -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/tizen '--args=chip_config_network_layer_ble=false chip_enable_wifi=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-minimal-no-ble-no-wifi - -# Generating tizen-arm-all-clusters-minimal-no-ble-no-wifi-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/tizen '--args=chip_config_network_layer_ble=false chip_enable_wifi=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-minimal-no-ble-no-wifi-asan - -# Generating tizen-arm-all-clusters-minimal-no-wifi -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/tizen '--args=chip_enable_wifi=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-minimal-no-wifi - -# Generating tizen-arm-all-clusters-minimal-no-wifi-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-minimal-app/tizen '--args=chip_enable_wifi=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-minimal-no-wifi-asan - -# Generating tizen-arm-all-clusters-no-ble -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/tizen '--args=chip_config_network_layer_ble=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-no-ble - -# Generating tizen-arm-all-clusters-no-ble-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/tizen '--args=chip_config_network_layer_ble=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-no-ble-asan - -# Generating tizen-arm-all-clusters-no-ble-no-wifi -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/tizen '--args=chip_config_network_layer_ble=false chip_enable_wifi=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-no-ble-no-wifi - -# Generating tizen-arm-all-clusters-no-ble-no-wifi-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/tizen '--args=chip_config_network_layer_ble=false chip_enable_wifi=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-no-ble-no-wifi-asan - -# Generating tizen-arm-all-clusters-no-wifi -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/tizen '--args=chip_enable_wifi=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-no-wifi - -# Generating tizen-arm-all-clusters-no-wifi-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/all-clusters-app/tizen '--args=chip_enable_wifi=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-all-clusters-no-wifi-asan - -# Generating tizen-arm-chip-tool -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-chip-tool - -# Generating tizen-arm-chip-tool-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-chip-tool-asan - -# Generating tizen-arm-chip-tool-no-ble -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=chip_config_network_layer_ble=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-chip-tool-no-ble - -# Generating tizen-arm-chip-tool-no-ble-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=chip_config_network_layer_ble=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-chip-tool-no-ble-asan - -# Generating tizen-arm-chip-tool-no-ble-no-wifi -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=chip_config_network_layer_ble=false chip_enable_wifi=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-chip-tool-no-ble-no-wifi - -# Generating tizen-arm-chip-tool-no-ble-no-wifi-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=chip_config_network_layer_ble=false chip_enable_wifi=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-chip-tool-no-ble-no-wifi-asan - -# Generating tizen-arm-chip-tool-no-wifi -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=chip_enable_wifi=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-chip-tool-no-wifi - -# Generating tizen-arm-chip-tool-no-wifi-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/chip-tool '--args=chip_enable_wifi=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-chip-tool-no-wifi-asan - -# Generating tizen-arm-light -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/tizen '--args=target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-light - -# Generating tizen-arm-light-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/tizen '--args=is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-light-asan - -# Generating tizen-arm-light-no-ble -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/tizen '--args=chip_config_network_layer_ble=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-light-no-ble - -# Generating tizen-arm-light-no-ble-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/tizen '--args=chip_config_network_layer_ble=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-light-no-ble-asan - -# Generating tizen-arm-light-no-ble-no-wifi -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/tizen '--args=chip_config_network_layer_ble=false chip_enable_wifi=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-light-no-ble-no-wifi - -# Generating tizen-arm-light-no-ble-no-wifi-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/tizen '--args=chip_config_network_layer_ble=false chip_enable_wifi=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-light-no-ble-no-wifi-asan - -# Generating tizen-arm-light-no-wifi -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/tizen '--args=chip_enable_wifi=false target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-light-no-wifi - -# Generating tizen-arm-light-no-wifi-asan -gn gen --check --fail-on-unused-args --export-compile-commands --root={root}/examples/lighting-app/tizen '--args=chip_enable_wifi=false is_asan=true target_os="tizen" target_cpu="arm" tizen_sdk_root="TEST_TIZEN_SDK_ROOT" tizen_sdk_sysroot="TEST_TIZEN_SDK_SYSROOT"' {out}/tizen-arm-light-no-wifi-asan - -# Building ameba-amebad-all-clusters -ninja -C {out}/ameba-amebad-all-clusters - -# Building ameba-amebad-all-clusters-minimal -ninja -C {out}/ameba-amebad-all-clusters-minimal - -# Building ameba-amebad-light -ninja -C {out}/ameba-amebad-light - -# Building ameba-amebad-pigweed -ninja -C {out}/ameba-amebad-pigweed - -# Building APP android-androidstudio-arm-chip-tool -{root}/src/android/CHIPTool/gradlew -p {root}/src/android/CHIPTool -PmatterBuildSrcDir={out}/android-androidstudio-arm-chip-tool -PmatterSdkSourceBuild=true -PmatterSourceBuildAbiFilters=armeabi-v7a assembleDebug - -# Building APP android-androidstudio-arm64-chip-tool -{root}/src/android/CHIPTool/gradlew -p {root}/src/android/CHIPTool -PmatterBuildSrcDir={out}/android-androidstudio-arm64-chip-tool -PmatterSdkSourceBuild=true -PmatterSourceBuildAbiFilters=arm64-v8a assembleDebug - -# Building APP android-androidstudio-x64-chip-tool -{root}/src/android/CHIPTool/gradlew -p {root}/src/android/CHIPTool -PmatterBuildSrcDir={out}/android-androidstudio-x64-chip-tool -PmatterSdkSourceBuild=true -PmatterSourceBuildAbiFilters=x86_64 assembleDebug - -# Building APP android-androidstudio-x86-chip-tool -{root}/src/android/CHIPTool/gradlew -p {root}/src/android/CHIPTool -PmatterBuildSrcDir={out}/android-androidstudio-x86-chip-tool -PmatterSdkSourceBuild=true -PmatterSourceBuildAbiFilters=x86 assembleDebug - -# Building JNI android-arm-chip-tool -ninja -C {out}/android-arm-chip-tool - -# Prepare Native libs android-arm-chip-tool -mkdir -p {root}/src/android/CHIPTool/app/libs/jniLibs/armeabi-v7a - -cp {out}/android-arm-chip-tool/lib/jni/armeabi-v7a/libSetupPayloadParser.so {root}/src/android/CHIPTool/app/libs/jniLibs/armeabi-v7a/libSetupPayloadParser.so - -cp {out}/android-arm-chip-tool/lib/jni/armeabi-v7a/libCHIPController.so {root}/src/android/CHIPTool/app/libs/jniLibs/armeabi-v7a/libCHIPController.so - -cp {out}/android-arm-chip-tool/lib/jni/armeabi-v7a/libc++_shared.so {root}/src/android/CHIPTool/app/libs/jniLibs/armeabi-v7a/libc++_shared.so - -cp {out}/android-arm-chip-tool/lib/src/controller/java/CHIPController.jar {root}/src/android/CHIPTool/app/libs/CHIPController.jar - -cp {out}/android-arm-chip-tool/lib/src/setup_payload/java/SetupPayloadParser.jar {root}/src/android/CHIPTool/app/libs/SetupPayloadParser.jar - -cp {out}/android-arm-chip-tool/lib/src/platform/android/AndroidPlatform.jar {root}/src/android/CHIPTool/app/libs/AndroidPlatform.jar - -# Building APP android-arm-chip-tool -{root}/src/android/CHIPTool/gradlew -p {root}/src/android/CHIPTool -PmatterBuildSrcDir={out}/android-arm-chip-tool -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm-chip-tool assembleDebug - -# Building JNI android-arm-tv-casting-app -ninja -C {out}/android-arm-tv-casting-app - -# Prepare Native libs android-arm-tv-casting-app -mkdir -p {root}/examples/tv-casting-app/android/App/app/libs/jniLibs/armeabi-v7a - -cp {out}/android-arm-tv-casting-app/lib/jni/armeabi-v7a/libc++_shared.so {root}/examples/tv-casting-app/android/App/app/libs/jniLibs/armeabi-v7a/libc++_shared.so - -cp {out}/android-arm-tv-casting-app/lib/jni/armeabi-v7a/libTvCastingApp.so {root}/examples/tv-casting-app/android/App/app/libs/jniLibs/armeabi-v7a/libTvCastingApp.so - -cp {out}/android-arm-tv-casting-app/lib/third_party/connectedhomeip/src/platform/android/AndroidPlatform.jar {root}/examples/tv-casting-app/android/App/app/libs/AndroidPlatform.jar - -cp {out}/android-arm-tv-casting-app/lib/third_party/connectedhomeip/src/app/server/java/CHIPAppServer.jar {root}/examples/tv-casting-app/android/App/app/libs/CHIPAppServer.jar - -cp {out}/android-arm-tv-casting-app/lib/TvCastingApp.jar {root}/examples/tv-casting-app/android/App/app/libs/TvCastingApp.jar - -# Building Example android-arm-tv-casting-app -{root}/examples/tv-casting-app/android/App/gradlew -p {root}/examples/tv-casting-app/android/App/ -PmatterBuildSrcDir={out}/android-arm-tv-casting-app -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm-tv-casting-app assembleDebug - -# Building JNI android-arm-tv-server -ninja -C {out}/android-arm-tv-server - -# Prepare Native libs android-arm-tv-server -mkdir -p {root}/examples/tv-app/android/App/app/libs/jniLibs/armeabi-v7a - -cp {out}/android-arm-tv-server/lib/jni/armeabi-v7a/libSetupPayloadParser.so {root}/examples/tv-app/android/App/app/libs/jniLibs/armeabi-v7a/libSetupPayloadParser.so - -cp {out}/android-arm-tv-server/lib/jni/armeabi-v7a/libc++_shared.so {root}/examples/tv-app/android/App/app/libs/jniLibs/armeabi-v7a/libc++_shared.so - -cp {out}/android-arm-tv-server/lib/jni/armeabi-v7a/libTvApp.so {root}/examples/tv-app/android/App/app/libs/jniLibs/armeabi-v7a/libTvApp.so - -cp {out}/android-arm-tv-server/lib/third_party/connectedhomeip/src/setup_payload/java/SetupPayloadParser.jar {root}/examples/tv-app/android/App/app/libs/SetupPayloadParser.jar - -cp {out}/android-arm-tv-server/lib/third_party/connectedhomeip/src/platform/android/AndroidPlatform.jar {root}/examples/tv-app/android/App/app/libs/AndroidPlatform.jar - -cp {out}/android-arm-tv-server/lib/third_party/connectedhomeip/src/app/server/java/CHIPAppServer.jar {root}/examples/tv-app/android/App/app/libs/CHIPAppServer.jar - -cp {out}/android-arm-tv-server/lib/TvApp.jar {root}/examples/tv-app/android/App/app/libs/TvApp.jar - -# Building Example android-arm-tv-server, module platform-app -{root}/examples/tv-app/android/App/gradlew -p {root}/examples/tv-app/android/App/ -PmatterBuildSrcDir={out}/android-arm-tv-server -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm-tv-server/platform-app :platform-app:assembleDebug - -# Building Example android-arm-tv-server, module content-app -{root}/examples/tv-app/android/App/gradlew -p {root}/examples/tv-app/android/App/ -PmatterBuildSrcDir={out}/android-arm-tv-server -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm-tv-server/content-app :content-app:assembleDebug - -# Building JNI android-arm64-chip-test -ninja -C {out}/android-arm64-chip-test - -# Prepare Native libs android-arm64-chip-test -mkdir -p {root}/src/android/CHIPTest/app/libs/jniLibs/arm64-v8a - -cp {out}/android-arm64-chip-test/lib/jni/arm64-v8a/libSetupPayloadParser.so {root}/src/android/CHIPTest/app/libs/jniLibs/arm64-v8a/libSetupPayloadParser.so - -cp {out}/android-arm64-chip-test/lib/jni/arm64-v8a/libCHIPController.so {root}/src/android/CHIPTest/app/libs/jniLibs/arm64-v8a/libCHIPController.so - -cp {out}/android-arm64-chip-test/lib/jni/arm64-v8a/libc++_shared.so {root}/src/android/CHIPTest/app/libs/jniLibs/arm64-v8a/libc++_shared.so - -cp {out}/android-arm64-chip-test/lib/src/controller/java/CHIPController.jar {root}/src/android/CHIPTest/app/libs/CHIPController.jar - -cp {out}/android-arm64-chip-test/lib/src/setup_payload/java/SetupPayloadParser.jar {root}/src/android/CHIPTest/app/libs/SetupPayloadParser.jar - -cp {out}/android-arm64-chip-test/lib/src/platform/android/AndroidPlatform.jar {root}/src/android/CHIPTest/app/libs/AndroidPlatform.jar - -# Building APP android-arm64-chip-test -{root}/src/android/CHIPTest/gradlew -p {root}/src/android/CHIPTest -PmatterBuildSrcDir={out}/android-arm64-chip-test -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm64-chip-test assembleDebug - -# Building JNI android-arm64-chip-tool -ninja -C {out}/android-arm64-chip-tool - -# Prepare Native libs android-arm64-chip-tool -mkdir -p {root}/src/android/CHIPTool/app/libs/jniLibs/arm64-v8a - -cp {out}/android-arm64-chip-tool/lib/jni/arm64-v8a/libSetupPayloadParser.so {root}/src/android/CHIPTool/app/libs/jniLibs/arm64-v8a/libSetupPayloadParser.so - -cp {out}/android-arm64-chip-tool/lib/jni/arm64-v8a/libCHIPController.so {root}/src/android/CHIPTool/app/libs/jniLibs/arm64-v8a/libCHIPController.so - -cp {out}/android-arm64-chip-tool/lib/jni/arm64-v8a/libc++_shared.so {root}/src/android/CHIPTool/app/libs/jniLibs/arm64-v8a/libc++_shared.so - -cp {out}/android-arm64-chip-tool/lib/src/controller/java/CHIPController.jar {root}/src/android/CHIPTool/app/libs/CHIPController.jar - -cp {out}/android-arm64-chip-tool/lib/src/setup_payload/java/SetupPayloadParser.jar {root}/src/android/CHIPTool/app/libs/SetupPayloadParser.jar - -cp {out}/android-arm64-chip-tool/lib/src/platform/android/AndroidPlatform.jar {root}/src/android/CHIPTool/app/libs/AndroidPlatform.jar - -# Building APP android-arm64-chip-tool -{root}/src/android/CHIPTool/gradlew -p {root}/src/android/CHIPTool -PmatterBuildSrcDir={out}/android-arm64-chip-tool -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm64-chip-tool assembleDebug - -# Building JNI android-arm64-tv-casting-app -ninja -C {out}/android-arm64-tv-casting-app - -# Prepare Native libs android-arm64-tv-casting-app -mkdir -p {root}/examples/tv-casting-app/android/App/app/libs/jniLibs/arm64-v8a - -cp {out}/android-arm64-tv-casting-app/lib/jni/arm64-v8a/libc++_shared.so {root}/examples/tv-casting-app/android/App/app/libs/jniLibs/arm64-v8a/libc++_shared.so - -cp {out}/android-arm64-tv-casting-app/lib/jni/arm64-v8a/libTvCastingApp.so {root}/examples/tv-casting-app/android/App/app/libs/jniLibs/arm64-v8a/libTvCastingApp.so - -cp {out}/android-arm64-tv-casting-app/lib/third_party/connectedhomeip/src/platform/android/AndroidPlatform.jar {root}/examples/tv-casting-app/android/App/app/libs/AndroidPlatform.jar - -cp {out}/android-arm64-tv-casting-app/lib/third_party/connectedhomeip/src/app/server/java/CHIPAppServer.jar {root}/examples/tv-casting-app/android/App/app/libs/CHIPAppServer.jar - -cp {out}/android-arm64-tv-casting-app/lib/TvCastingApp.jar {root}/examples/tv-casting-app/android/App/app/libs/TvCastingApp.jar - -# Building Example android-arm64-tv-casting-app -{root}/examples/tv-casting-app/android/App/gradlew -p {root}/examples/tv-casting-app/android/App/ -PmatterBuildSrcDir={out}/android-arm64-tv-casting-app -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm64-tv-casting-app assembleDebug - -# Building JNI android-arm64-tv-server -ninja -C {out}/android-arm64-tv-server - -# Prepare Native libs android-arm64-tv-server -mkdir -p {root}/examples/tv-app/android/App/app/libs/jniLibs/arm64-v8a - -cp {out}/android-arm64-tv-server/lib/jni/arm64-v8a/libSetupPayloadParser.so {root}/examples/tv-app/android/App/app/libs/jniLibs/arm64-v8a/libSetupPayloadParser.so - -cp {out}/android-arm64-tv-server/lib/jni/arm64-v8a/libc++_shared.so {root}/examples/tv-app/android/App/app/libs/jniLibs/arm64-v8a/libc++_shared.so - -cp {out}/android-arm64-tv-server/lib/jni/arm64-v8a/libTvApp.so {root}/examples/tv-app/android/App/app/libs/jniLibs/arm64-v8a/libTvApp.so - -cp {out}/android-arm64-tv-server/lib/third_party/connectedhomeip/src/setup_payload/java/SetupPayloadParser.jar {root}/examples/tv-app/android/App/app/libs/SetupPayloadParser.jar - -cp {out}/android-arm64-tv-server/lib/third_party/connectedhomeip/src/platform/android/AndroidPlatform.jar {root}/examples/tv-app/android/App/app/libs/AndroidPlatform.jar - -cp {out}/android-arm64-tv-server/lib/third_party/connectedhomeip/src/app/server/java/CHIPAppServer.jar {root}/examples/tv-app/android/App/app/libs/CHIPAppServer.jar - -cp {out}/android-arm64-tv-server/lib/TvApp.jar {root}/examples/tv-app/android/App/app/libs/TvApp.jar - -# Building Example android-arm64-tv-server, module platform-app -{root}/examples/tv-app/android/App/gradlew -p {root}/examples/tv-app/android/App/ -PmatterBuildSrcDir={out}/android-arm64-tv-server -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm64-tv-server/platform-app :platform-app:assembleDebug - -# Building Example android-arm64-tv-server, module content-app -{root}/examples/tv-app/android/App/gradlew -p {root}/examples/tv-app/android/App/ -PmatterBuildSrcDir={out}/android-arm64-tv-server -PmatterSdkSourceBuild=false -PbuildDir={out}/android-arm64-tv-server/content-app :content-app:assembleDebug - -# Building JNI android-x64-chip-tool -ninja -C {out}/android-x64-chip-tool - -# Prepare Native libs android-x64-chip-tool -mkdir -p {root}/src/android/CHIPTool/app/libs/jniLibs/x86_64 - -cp {out}/android-x64-chip-tool/lib/jni/x86_64/libSetupPayloadParser.so {root}/src/android/CHIPTool/app/libs/jniLibs/x86_64/libSetupPayloadParser.so - -cp {out}/android-x64-chip-tool/lib/jni/x86_64/libCHIPController.so {root}/src/android/CHIPTool/app/libs/jniLibs/x86_64/libCHIPController.so - -cp {out}/android-x64-chip-tool/lib/jni/x86_64/libc++_shared.so {root}/src/android/CHIPTool/app/libs/jniLibs/x86_64/libc++_shared.so - -cp {out}/android-x64-chip-tool/lib/src/controller/java/CHIPController.jar {root}/src/android/CHIPTool/app/libs/CHIPController.jar - -cp {out}/android-x64-chip-tool/lib/src/setup_payload/java/SetupPayloadParser.jar {root}/src/android/CHIPTool/app/libs/SetupPayloadParser.jar - -cp {out}/android-x64-chip-tool/lib/src/platform/android/AndroidPlatform.jar {root}/src/android/CHIPTool/app/libs/AndroidPlatform.jar - -# Building APP android-x64-chip-tool -{root}/src/android/CHIPTool/gradlew -p {root}/src/android/CHIPTool -PmatterBuildSrcDir={out}/android-x64-chip-tool -PmatterSdkSourceBuild=false -PbuildDir={out}/android-x64-chip-tool assembleDebug - -# Building JNI android-x64-tv-server -ninja -C {out}/android-x64-tv-server - -# Prepare Native libs android-x64-tv-server -mkdir -p {root}/examples/tv-app/android/App/app/libs/jniLibs/x86_64 - -cp {out}/android-x64-tv-server/lib/jni/x86_64/libSetupPayloadParser.so {root}/examples/tv-app/android/App/app/libs/jniLibs/x86_64/libSetupPayloadParser.so - -cp {out}/android-x64-tv-server/lib/jni/x86_64/libc++_shared.so {root}/examples/tv-app/android/App/app/libs/jniLibs/x86_64/libc++_shared.so - -cp {out}/android-x64-tv-server/lib/jni/x86_64/libTvApp.so {root}/examples/tv-app/android/App/app/libs/jniLibs/x86_64/libTvApp.so - -cp {out}/android-x64-tv-server/lib/third_party/connectedhomeip/src/setup_payload/java/SetupPayloadParser.jar {root}/examples/tv-app/android/App/app/libs/SetupPayloadParser.jar - -cp {out}/android-x64-tv-server/lib/third_party/connectedhomeip/src/platform/android/AndroidPlatform.jar {root}/examples/tv-app/android/App/app/libs/AndroidPlatform.jar - -cp {out}/android-x64-tv-server/lib/third_party/connectedhomeip/src/app/server/java/CHIPAppServer.jar {root}/examples/tv-app/android/App/app/libs/CHIPAppServer.jar - -cp {out}/android-x64-tv-server/lib/TvApp.jar {root}/examples/tv-app/android/App/app/libs/TvApp.jar - -# Building Example android-x64-tv-server, module platform-app -{root}/examples/tv-app/android/App/gradlew -p {root}/examples/tv-app/android/App/ -PmatterBuildSrcDir={out}/android-x64-tv-server -PmatterSdkSourceBuild=false -PbuildDir={out}/android-x64-tv-server/platform-app :platform-app:assembleDebug - -# Building Example android-x64-tv-server, module content-app -{root}/examples/tv-app/android/App/gradlew -p {root}/examples/tv-app/android/App/ -PmatterBuildSrcDir={out}/android-x64-tv-server -PmatterSdkSourceBuild=false -PbuildDir={out}/android-x64-tv-server/content-app :content-app:assembleDebug - -# Building JNI android-x86-chip-tool -ninja -C {out}/android-x86-chip-tool - -# Prepare Native libs android-x86-chip-tool -mkdir -p {root}/src/android/CHIPTool/app/libs/jniLibs/x86 - -cp {out}/android-x86-chip-tool/lib/jni/x86/libSetupPayloadParser.so {root}/src/android/CHIPTool/app/libs/jniLibs/x86/libSetupPayloadParser.so - -cp {out}/android-x86-chip-tool/lib/jni/x86/libCHIPController.so {root}/src/android/CHIPTool/app/libs/jniLibs/x86/libCHIPController.so - -cp {out}/android-x86-chip-tool/lib/jni/x86/libc++_shared.so {root}/src/android/CHIPTool/app/libs/jniLibs/x86/libc++_shared.so - -cp {out}/android-x86-chip-tool/lib/src/controller/java/CHIPController.jar {root}/src/android/CHIPTool/app/libs/CHIPController.jar - -cp {out}/android-x86-chip-tool/lib/src/setup_payload/java/SetupPayloadParser.jar {root}/src/android/CHIPTool/app/libs/SetupPayloadParser.jar - -cp {out}/android-x86-chip-tool/lib/src/platform/android/AndroidPlatform.jar {root}/src/android/CHIPTool/app/libs/AndroidPlatform.jar - -# Building APP android-x86-chip-tool -{root}/src/android/CHIPTool/gradlew -p {root}/src/android/CHIPTool -PmatterBuildSrcDir={out}/android-x86-chip-tool -PmatterSdkSourceBuild=false -PbuildDir={out}/android-x86-chip-tool assembleDebug - -# Building JNI android-x86-tv-server -ninja -C {out}/android-x86-tv-server - -# Prepare Native libs android-x86-tv-server -mkdir -p {root}/examples/tv-app/android/App/app/libs/jniLibs/x86 - -cp {out}/android-x86-tv-server/lib/jni/x86/libSetupPayloadParser.so {root}/examples/tv-app/android/App/app/libs/jniLibs/x86/libSetupPayloadParser.so - -cp {out}/android-x86-tv-server/lib/jni/x86/libc++_shared.so {root}/examples/tv-app/android/App/app/libs/jniLibs/x86/libc++_shared.so - -cp {out}/android-x86-tv-server/lib/jni/x86/libTvApp.so {root}/examples/tv-app/android/App/app/libs/jniLibs/x86/libTvApp.so - -cp {out}/android-x86-tv-server/lib/third_party/connectedhomeip/src/setup_payload/java/SetupPayloadParser.jar {root}/examples/tv-app/android/App/app/libs/SetupPayloadParser.jar - -cp {out}/android-x86-tv-server/lib/third_party/connectedhomeip/src/platform/android/AndroidPlatform.jar {root}/examples/tv-app/android/App/app/libs/AndroidPlatform.jar - -cp {out}/android-x86-tv-server/lib/third_party/connectedhomeip/src/app/server/java/CHIPAppServer.jar {root}/examples/tv-app/android/App/app/libs/CHIPAppServer.jar - -cp {out}/android-x86-tv-server/lib/TvApp.jar {root}/examples/tv-app/android/App/app/libs/TvApp.jar - -# Building Example android-x86-tv-server, module platform-app -{root}/examples/tv-app/android/App/gradlew -p {root}/examples/tv-app/android/App/ -PmatterBuildSrcDir={out}/android-x86-tv-server -PmatterSdkSourceBuild=false -PbuildDir={out}/android-x86-tv-server/platform-app :platform-app:assembleDebug - -# Building Example android-x86-tv-server, module content-app -{root}/examples/tv-app/android/App/gradlew -p {root}/examples/tv-app/android/App/ -PmatterBuildSrcDir={out}/android-x86-tv-server -PmatterSdkSourceBuild=false -PbuildDir={out}/android-x86-tv-server/content-app :content-app:assembleDebug - -# Building bl602-light -ninja -C {out}/bl602-light - -# Building cc13x2x7_26x2x7-all-clusters -ninja -C {out}/cc13x2x7_26x2x7-all-clusters - -# Building cc13x2x7_26x2x7-all-clusters-minimal -ninja -C {out}/cc13x2x7_26x2x7-all-clusters-minimal - -# Building cc13x2x7_26x2x7-lock-ftd -ninja -C {out}/cc13x2x7_26x2x7-lock-ftd - -# Building cc13x2x7_26x2x7-lock-mtd -ninja -C {out}/cc13x2x7_26x2x7-lock-mtd - -# Building cc13x2x7_26x2x7-pump -ninja -C {out}/cc13x2x7_26x2x7-pump - -# Building cc13x2x7_26x2x7-pump-controller -ninja -C {out}/cc13x2x7_26x2x7-pump-controller - -# Building cc13x2x7_26x2x7-shell -ninja -C {out}/cc13x2x7_26x2x7-shell - -# Building cc32xx-lock -ninja -C {out}/cc32xx-lock - -# Building cyw30739-cyw930739m2evb_01-light -ninja -C {out}/cyw30739-cyw930739m2evb_01-light - -# Building cyw30739-cyw930739m2evb_01-lock -ninja -C {out}/cyw30739-cyw930739m2evb_01-lock - -# Building cyw30739-cyw930739m2evb_01-ota-requestor -ninja -C {out}/cyw30739-cyw930739m2evb_01-ota-requestor - -# Building cyw30739-cyw930739m2evb_01-ota-requestor-no-progress-logging -ninja -C {out}/cyw30739-cyw930739m2evb_01-ota-requestor-no-progress-logging - -# Building efr32-brd4161a-light -ninja -C {out}/efr32-brd4161a-light - -# Building efr32-brd4161a-light-rpc -ninja -C {out}/efr32-brd4161a-light-rpc - -# Building efr32-brd4161a-light-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4161a-light-rpc-with-ota-requestor - -# Building efr32-brd4161a-light-with-ota-requestor -ninja -C {out}/efr32-brd4161a-light-with-ota-requestor - -# Building efr32-brd4161a-lock -ninja -C {out}/efr32-brd4161a-lock - -# Building efr32-brd4161a-lock-rpc -ninja -C {out}/efr32-brd4161a-lock-rpc - -# Building efr32-brd4161a-lock-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4161a-lock-rpc-with-ota-requestor - -# Building efr32-brd4161a-lock-with-ota-requestor -ninja -C {out}/efr32-brd4161a-lock-with-ota-requestor - -# Building efr32-brd4161a-switch -ninja -C {out}/efr32-brd4161a-switch - -# Building efr32-brd4161a-switch-with-ota-requestor -ninja -C {out}/efr32-brd4161a-switch-with-ota-requestor - -# Building efr32-brd4161a-unit-test -ninja -C {out}/efr32-brd4161a-unit-test - -# Building efr32-brd4161a-unit-test-with-ota-requestor -ninja -C {out}/efr32-brd4161a-unit-test-with-ota-requestor - -# Building efr32-brd4161a-window-covering -ninja -C {out}/efr32-brd4161a-window-covering - -# Building efr32-brd4161a-window-covering-with-ota-requestor -ninja -C {out}/efr32-brd4161a-window-covering-with-ota-requestor - -# Building efr32-brd4163a-light -ninja -C {out}/efr32-brd4163a-light - -# Building efr32-brd4163a-light-rpc -ninja -C {out}/efr32-brd4163a-light-rpc - -# Building efr32-brd4163a-light-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4163a-light-rpc-with-ota-requestor - -# Building efr32-brd4163a-light-with-ota-requestor -ninja -C {out}/efr32-brd4163a-light-with-ota-requestor - -# Building efr32-brd4163a-lock -ninja -C {out}/efr32-brd4163a-lock - -# Building efr32-brd4163a-lock-rpc -ninja -C {out}/efr32-brd4163a-lock-rpc - -# Building efr32-brd4163a-lock-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4163a-lock-rpc-with-ota-requestor - -# Building efr32-brd4163a-lock-with-ota-requestor -ninja -C {out}/efr32-brd4163a-lock-with-ota-requestor - -# Building efr32-brd4163a-switch -ninja -C {out}/efr32-brd4163a-switch - -# Building efr32-brd4163a-switch-with-ota-requestor -ninja -C {out}/efr32-brd4163a-switch-with-ota-requestor - -# Building efr32-brd4163a-unit-test -ninja -C {out}/efr32-brd4163a-unit-test - -# Building efr32-brd4163a-unit-test-with-ota-requestor -ninja -C {out}/efr32-brd4163a-unit-test-with-ota-requestor - -# Building efr32-brd4163a-window-covering -ninja -C {out}/efr32-brd4163a-window-covering - -# Building efr32-brd4163a-window-covering-with-ota-requestor -ninja -C {out}/efr32-brd4163a-window-covering-with-ota-requestor - -# Building efr32-brd4164a-light -ninja -C {out}/efr32-brd4164a-light - -# Building efr32-brd4164a-light-rpc -ninja -C {out}/efr32-brd4164a-light-rpc - -# Building efr32-brd4164a-light-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4164a-light-rpc-with-ota-requestor - -# Building efr32-brd4164a-light-with-ota-requestor -ninja -C {out}/efr32-brd4164a-light-with-ota-requestor - -# Building efr32-brd4164a-lock -ninja -C {out}/efr32-brd4164a-lock - -# Building efr32-brd4164a-lock-rpc -ninja -C {out}/efr32-brd4164a-lock-rpc - -# Building efr32-brd4164a-lock-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4164a-lock-rpc-with-ota-requestor - -# Building efr32-brd4164a-lock-with-ota-requestor -ninja -C {out}/efr32-brd4164a-lock-with-ota-requestor - -# Building efr32-brd4164a-switch -ninja -C {out}/efr32-brd4164a-switch - -# Building efr32-brd4164a-switch-with-ota-requestor -ninja -C {out}/efr32-brd4164a-switch-with-ota-requestor - -# Building efr32-brd4164a-unit-test -ninja -C {out}/efr32-brd4164a-unit-test - -# Building efr32-brd4164a-unit-test-with-ota-requestor -ninja -C {out}/efr32-brd4164a-unit-test-with-ota-requestor - -# Building efr32-brd4164a-window-covering -ninja -C {out}/efr32-brd4164a-window-covering - -# Building efr32-brd4164a-window-covering-with-ota-requestor -ninja -C {out}/efr32-brd4164a-window-covering-with-ota-requestor - -# Building efr32-brd4166a-light -ninja -C {out}/efr32-brd4166a-light - -# Building efr32-brd4166a-light-rpc -ninja -C {out}/efr32-brd4166a-light-rpc - -# Building efr32-brd4166a-light-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4166a-light-rpc-with-ota-requestor - -# Building efr32-brd4166a-light-with-ota-requestor -ninja -C {out}/efr32-brd4166a-light-with-ota-requestor - -# Building efr32-brd4166a-lock -ninja -C {out}/efr32-brd4166a-lock - -# Building efr32-brd4166a-lock-rpc -ninja -C {out}/efr32-brd4166a-lock-rpc - -# Building efr32-brd4166a-lock-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4166a-lock-rpc-with-ota-requestor - -# Building efr32-brd4166a-lock-with-ota-requestor -ninja -C {out}/efr32-brd4166a-lock-with-ota-requestor - -# Building efr32-brd4166a-switch -ninja -C {out}/efr32-brd4166a-switch - -# Building efr32-brd4166a-switch-with-ota-requestor -ninja -C {out}/efr32-brd4166a-switch-with-ota-requestor - -# Building efr32-brd4166a-unit-test -ninja -C {out}/efr32-brd4166a-unit-test - -# Building efr32-brd4166a-unit-test-with-ota-requestor -ninja -C {out}/efr32-brd4166a-unit-test-with-ota-requestor - -# Building efr32-brd4166a-window-covering -ninja -C {out}/efr32-brd4166a-window-covering - -# Building efr32-brd4166a-window-covering-with-ota-requestor -ninja -C {out}/efr32-brd4166a-window-covering-with-ota-requestor - -# Building efr32-brd4170a-light -ninja -C {out}/efr32-brd4170a-light - -# Building efr32-brd4170a-light-rpc -ninja -C {out}/efr32-brd4170a-light-rpc - -# Building efr32-brd4170a-light-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4170a-light-rpc-with-ota-requestor - -# Building efr32-brd4170a-light-with-ota-requestor -ninja -C {out}/efr32-brd4170a-light-with-ota-requestor - -# Building efr32-brd4170a-lock -ninja -C {out}/efr32-brd4170a-lock - -# Building efr32-brd4170a-lock-rpc -ninja -C {out}/efr32-brd4170a-lock-rpc - -# Building efr32-brd4170a-lock-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4170a-lock-rpc-with-ota-requestor - -# Building efr32-brd4170a-lock-with-ota-requestor -ninja -C {out}/efr32-brd4170a-lock-with-ota-requestor - -# Building efr32-brd4170a-switch -ninja -C {out}/efr32-brd4170a-switch - -# Building efr32-brd4170a-switch-with-ota-requestor -ninja -C {out}/efr32-brd4170a-switch-with-ota-requestor - -# Building efr32-brd4170a-unit-test -ninja -C {out}/efr32-brd4170a-unit-test - -# Building efr32-brd4170a-unit-test-with-ota-requestor -ninja -C {out}/efr32-brd4170a-unit-test-with-ota-requestor - -# Building efr32-brd4170a-window-covering -ninja -C {out}/efr32-brd4170a-window-covering - -# Building efr32-brd4170a-window-covering-with-ota-requestor -ninja -C {out}/efr32-brd4170a-window-covering-with-ota-requestor - -# Building efr32-brd4186a-light -ninja -C {out}/efr32-brd4186a-light - -# Building efr32-brd4186a-light-rpc -ninja -C {out}/efr32-brd4186a-light-rpc - -# Building efr32-brd4186a-light-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4186a-light-rpc-with-ota-requestor - -# Building efr32-brd4186a-light-with-ota-requestor -ninja -C {out}/efr32-brd4186a-light-with-ota-requestor - -# Building efr32-brd4186a-lock -ninja -C {out}/efr32-brd4186a-lock - -# Building efr32-brd4186a-lock-rpc -ninja -C {out}/efr32-brd4186a-lock-rpc - -# Building efr32-brd4186a-lock-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4186a-lock-rpc-with-ota-requestor - -# Building efr32-brd4186a-lock-with-ota-requestor -ninja -C {out}/efr32-brd4186a-lock-with-ota-requestor - -# Building efr32-brd4186a-switch -ninja -C {out}/efr32-brd4186a-switch - -# Building efr32-brd4186a-switch-with-ota-requestor -ninja -C {out}/efr32-brd4186a-switch-with-ota-requestor - -# Building efr32-brd4186a-unit-test -ninja -C {out}/efr32-brd4186a-unit-test - -# Building efr32-brd4186a-unit-test-with-ota-requestor -ninja -C {out}/efr32-brd4186a-unit-test-with-ota-requestor - -# Building efr32-brd4186a-window-covering -ninja -C {out}/efr32-brd4186a-window-covering - -# Building efr32-brd4186a-window-covering-with-ota-requestor -ninja -C {out}/efr32-brd4186a-window-covering-with-ota-requestor - -# Building efr32-brd4187a-light -ninja -C {out}/efr32-brd4187a-light - -# Building efr32-brd4187a-light-rpc -ninja -C {out}/efr32-brd4187a-light-rpc - -# Building efr32-brd4187a-light-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4187a-light-rpc-with-ota-requestor - -# Building efr32-brd4187a-light-with-ota-requestor -ninja -C {out}/efr32-brd4187a-light-with-ota-requestor - -# Building efr32-brd4187a-lock -ninja -C {out}/efr32-brd4187a-lock - -# Building efr32-brd4187a-lock-rpc -ninja -C {out}/efr32-brd4187a-lock-rpc - -# Building efr32-brd4187a-lock-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4187a-lock-rpc-with-ota-requestor - -# Building efr32-brd4187a-lock-with-ota-requestor -ninja -C {out}/efr32-brd4187a-lock-with-ota-requestor - -# Building efr32-brd4187a-switch -ninja -C {out}/efr32-brd4187a-switch - -# Building efr32-brd4187a-switch-with-ota-requestor -ninja -C {out}/efr32-brd4187a-switch-with-ota-requestor - -# Building efr32-brd4187a-unit-test -ninja -C {out}/efr32-brd4187a-unit-test - -# Building efr32-brd4187a-unit-test-with-ota-requestor -ninja -C {out}/efr32-brd4187a-unit-test-with-ota-requestor - -# Building efr32-brd4187a-window-covering -ninja -C {out}/efr32-brd4187a-window-covering - -# Building efr32-brd4187a-window-covering-with-ota-requestor -ninja -C {out}/efr32-brd4187a-window-covering-with-ota-requestor - -# Building efr32-brd4304a-light -ninja -C {out}/efr32-brd4304a-light - -# Building efr32-brd4304a-light-rpc -ninja -C {out}/efr32-brd4304a-light-rpc - -# Building efr32-brd4304a-light-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4304a-light-rpc-with-ota-requestor - -# Building efr32-brd4304a-light-with-ota-requestor -ninja -C {out}/efr32-brd4304a-light-with-ota-requestor - -# Building efr32-brd4304a-lock -ninja -C {out}/efr32-brd4304a-lock - -# Building efr32-brd4304a-lock-rpc -ninja -C {out}/efr32-brd4304a-lock-rpc - -# Building efr32-brd4304a-lock-rpc-with-ota-requestor -ninja -C {out}/efr32-brd4304a-lock-rpc-with-ota-requestor - -# Building efr32-brd4304a-lock-with-ota-requestor -ninja -C {out}/efr32-brd4304a-lock-with-ota-requestor - -# Building efr32-brd4304a-switch -ninja -C {out}/efr32-brd4304a-switch - -# Building efr32-brd4304a-switch-with-ota-requestor -ninja -C {out}/efr32-brd4304a-switch-with-ota-requestor - -# Building efr32-brd4304a-unit-test -ninja -C {out}/efr32-brd4304a-unit-test - -# Building efr32-brd4304a-unit-test-with-ota-requestor -ninja -C {out}/efr32-brd4304a-unit-test-with-ota-requestor - -# Building efr32-brd4304a-window-covering -ninja -C {out}/efr32-brd4304a-window-covering - -# Building efr32-brd4304a-window-covering-with-ota-requestor -ninja -C {out}/efr32-brd4304a-window-covering-with-ota-requestor - -rm -f examples/all-clusters-app/esp32/sdkconfig - -# Building esp32-c3devkit-all-clusters -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-c3devkit-all-clusters/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-c3devkit-all-clusters build' - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -# Building esp32-c3devkit-all-clusters-minimal -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-c3devkit-all-clusters-minimal/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-c3devkit-all-clusters-minimal build' - -rm -f examples/all-clusters-app/esp32/sdkconfig - -# Building esp32-devkitc-all-clusters -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-all-clusters/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-devkitc-all-clusters build' - -rm -f examples/all-clusters-app/esp32/sdkconfig - -# Building esp32-devkitc-all-clusters-ipv6only -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-all-clusters-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-devkitc-all-clusters-ipv6only build' - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -# Building esp32-devkitc-all-clusters-minimal -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-all-clusters-minimal/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-devkitc-all-clusters-minimal build' - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -# Building esp32-devkitc-all-clusters-minimal-ipv6only -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-all-clusters-minimal-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-devkitc-all-clusters-minimal-ipv6only build' - -rm -f examples/bridge-app/esp32/sdkconfig - -# Building esp32-devkitc-bridge -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-bridge/sdkconfig.defaults -idf.py -C examples/bridge-app/esp32 -B {out}/esp32-devkitc-bridge build' - -rm -f examples/lighting-app/esp32/sdkconfig - -# Building esp32-devkitc-light -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-light/sdkconfig.defaults -idf.py -C examples/lighting-app/esp32 -B {out}/esp32-devkitc-light build' - -rm -f examples/lock-app/esp32/sdkconfig - -# Building esp32-devkitc-lock -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-lock/sdkconfig.defaults -idf.py -C examples/lock-app/esp32 -B {out}/esp32-devkitc-lock build' - -rm -f examples/ota-requestor-app/esp32/sdkconfig - -# Building esp32-devkitc-ota-requestor -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-ota-requestor/sdkconfig.defaults -idf.py -C examples/ota-requestor-app/esp32 -B {out}/esp32-devkitc-ota-requestor build' - -rm -f examples/ota-requestor-app/esp32/sdkconfig - -# Building esp32-devkitc-ota-requestor-rpc -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-ota-requestor-rpc/sdkconfig.defaults -idf.py -C examples/ota-requestor-app/esp32 -B {out}/esp32-devkitc-ota-requestor-rpc build' - -rm -f examples/shell/esp32/sdkconfig - -# Building esp32-devkitc-shell -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-shell/sdkconfig.defaults -idf.py -C examples/shell/esp32 -B {out}/esp32-devkitc-shell build' - -rm -f examples/temperature-measurement-app/esp32/sdkconfig - -# Building esp32-devkitc-temperature-measurement -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-temperature-measurement/sdkconfig.defaults -idf.py -C examples/temperature-measurement-app/esp32 -B {out}/esp32-devkitc-temperature-measurement build' - -rm -f examples/temperature-measurement-app/esp32/sdkconfig - -# Building esp32-devkitc-temperature-measurement-rpc -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-devkitc-temperature-measurement-rpc/sdkconfig.defaults -idf.py -C examples/temperature-measurement-app/esp32 -B {out}/esp32-devkitc-temperature-measurement-rpc build' - -rm -f examples/all-clusters-app/esp32/sdkconfig - -# Building esp32-m5stack-all-clusters -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-m5stack-all-clusters build' - -rm -f examples/all-clusters-app/esp32/sdkconfig - -# Building esp32-m5stack-all-clusters-ipv6only -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-m5stack-all-clusters-ipv6only build' - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -# Building esp32-m5stack-all-clusters-minimal -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal build' - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -# Building esp32-m5stack-all-clusters-minimal-ipv6only -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal-ipv6only build' - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -# Building esp32-m5stack-all-clusters-minimal-rpc -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal-rpc/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal-rpc build' - -rm -f examples/all-clusters-minimal-app/esp32/sdkconfig - -# Building esp32-m5stack-all-clusters-minimal-rpc-ipv6only -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-minimal-app/esp32 -B {out}/esp32-m5stack-all-clusters-minimal-rpc-ipv6only build' - -rm -f examples/all-clusters-app/esp32/sdkconfig - -# Building esp32-m5stack-all-clusters-rpc -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-rpc/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-m5stack-all-clusters-rpc build' - -rm -f examples/all-clusters-app/esp32/sdkconfig - -# Building esp32-m5stack-all-clusters-rpc-ipv6only -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-all-clusters-rpc-ipv6only/sdkconfig.defaults -idf.py -C examples/all-clusters-app/esp32 -B {out}/esp32-m5stack-all-clusters-rpc-ipv6only build' - -rm -f examples/ota-requestor-app/esp32/sdkconfig - -# Building esp32-m5stack-ota-requestor -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-ota-requestor/sdkconfig.defaults -idf.py -C examples/ota-requestor-app/esp32 -B {out}/esp32-m5stack-ota-requestor build' - -rm -f examples/ota-requestor-app/esp32/sdkconfig - -# Building esp32-m5stack-ota-requestor-rpc -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-m5stack-ota-requestor-rpc/sdkconfig.defaults -idf.py -C examples/ota-requestor-app/esp32 -B {out}/esp32-m5stack-ota-requestor-rpc build' - -rm -f src/test_driver/esp32/sdkconfig - -# Building esp32-qemu-tests -bash -c 'source $IDF_PATH/export.sh; source scripts/activate.sh; -export SDKCONFIG_DEFAULTS={out}/esp32-qemu-tests/sdkconfig.defaults -idf.py -C src/test_driver/esp32 -B {out}/esp32-qemu-tests build' - -# Building imx-all-clusters-app -ninja -C {out}/imx-all-clusters-app - -# Building imx-all-clusters-app-release -ninja -C {out}/imx-all-clusters-app-release - -# Building imx-all-clusters-minimal-app -ninja -C {out}/imx-all-clusters-minimal-app - -# Building imx-all-clusters-minimal-app-release -ninja -C {out}/imx-all-clusters-minimal-app-release - -# Building imx-chip-tool -ninja -C {out}/imx-chip-tool - -# Building imx-chip-tool-release -ninja -C {out}/imx-chip-tool-release - -# Building imx-lighting-app -ninja -C {out}/imx-lighting-app - -# Building imx-lighting-app-release -ninja -C {out}/imx-lighting-app-release - -# Building imx-ota-provider-app -ninja -C {out}/imx-ota-provider-app - -# Building imx-ota-provider-app-release -ninja -C {out}/imx-ota-provider-app-release - -# Building imx-thermostat -ninja -C {out}/imx-thermostat - -# Building imx-thermostat-release -ninja -C {out}/imx-thermostat-release - -# Building infineon-psoc6-all-clusters -ninja -C {out}/infineon-psoc6-all-clusters - -# Building infineon-psoc6-all-clusters-minimal -ninja -C {out}/infineon-psoc6-all-clusters-minimal - -# Building infineon-psoc6-all-clusters-minimal-ota -ninja -C {out}/infineon-psoc6-all-clusters-minimal-ota - -# Building infineon-psoc6-all-clusters-minimal-ota-updateimage -ninja -C {out}/infineon-psoc6-all-clusters-minimal-ota-updateimage - -# Building infineon-psoc6-all-clusters-minimal-updateimage -ninja -C {out}/infineon-psoc6-all-clusters-minimal-updateimage - -# Building infineon-psoc6-all-clusters-ota -ninja -C {out}/infineon-psoc6-all-clusters-ota - -# Building infineon-psoc6-all-clusters-ota-updateimage -ninja -C {out}/infineon-psoc6-all-clusters-ota-updateimage - -# Building infineon-psoc6-all-clusters-updateimage -ninja -C {out}/infineon-psoc6-all-clusters-updateimage - -# Building infineon-psoc6-light -ninja -C {out}/infineon-psoc6-light - -# Building infineon-psoc6-light-ota -ninja -C {out}/infineon-psoc6-light-ota - -# Building infineon-psoc6-light-ota-updateimage -ninja -C {out}/infineon-psoc6-light-ota-updateimage - -# Building infineon-psoc6-light-updateimage -ninja -C {out}/infineon-psoc6-light-updateimage - -# Building infineon-psoc6-lock -ninja -C {out}/infineon-psoc6-lock - -# Building infineon-psoc6-lock-ota -ninja -C {out}/infineon-psoc6-lock-ota - -# Building infineon-psoc6-lock-ota-updateimage -ninja -C {out}/infineon-psoc6-lock-ota-updateimage - -# Building infineon-psoc6-lock-updateimage -ninja -C {out}/infineon-psoc6-lock-updateimage - -# Building k32w-light-ota-se -ninja -C {out}/k32w-light-ota-se - -# Building k32w-light-release-no-ota -ninja -C {out}/k32w-light-release-no-ota - -# Building k32w-lock-low-power-release -ninja -C {out}/k32w-lock-low-power-release - -# Building k32w-lock-release -ninja -C {out}/k32w-lock-release - -# Building k32w-shell-release -ninja -C {out}/k32w-shell-release - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-all-clusters-debug -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-all-clusters-debug/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-all-clusters-debug -cmake --build {out}/mbed-CY8CPROTO_062_4343W-all-clusters-debug - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-all-clusters-develop -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-all-clusters-develop/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-all-clusters-develop -cmake --build {out}/mbed-CY8CPROTO_062_4343W-all-clusters-develop - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug -cmake --build {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-debug - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop -cmake --build {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-develop - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release -cmake --build {out}/mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-all-clusters-release -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-all-clusters-release/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-all-clusters-release -cmake --build {out}/mbed-CY8CPROTO_062_4343W-all-clusters-release - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-light-debug -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-light-debug/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-light-debug -cmake --build {out}/mbed-CY8CPROTO_062_4343W-light-debug - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-light-develop -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-light-develop/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-light-develop -cmake --build {out}/mbed-CY8CPROTO_062_4343W-light-develop - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-light-release -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-light-release/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-light-release -cmake --build {out}/mbed-CY8CPROTO_062_4343W-light-release - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-lock-debug -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-lock-debug/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-lock-debug -cmake --build {out}/mbed-CY8CPROTO_062_4343W-lock-debug - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-lock-develop -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-lock-develop/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-lock-develop -cmake --build {out}/mbed-CY8CPROTO_062_4343W-lock-develop - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-lock-release -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-lock-release/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-lock-release -cmake --build {out}/mbed-CY8CPROTO_062_4343W-lock-release - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-pigweed-debug -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-pigweed-debug/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-pigweed-debug -cmake --build {out}/mbed-CY8CPROTO_062_4343W-pigweed-debug - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-pigweed-develop -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-pigweed-develop/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-pigweed-develop -cmake --build {out}/mbed-CY8CPROTO_062_4343W-pigweed-develop - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-pigweed-release -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-pigweed-release/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-pigweed-release -cmake --build {out}/mbed-CY8CPROTO_062_4343W-pigweed-release - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-shell-debug -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-shell-debug/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-shell-debug -cmake --build {out}/mbed-CY8CPROTO_062_4343W-shell-debug - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-shell-develop -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-shell-develop/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-shell-develop -cmake --build {out}/mbed-CY8CPROTO_062_4343W-shell-develop - -# Remove old artifacts mbed-CY8CPROTO_062_4343W-shell-release -bash -c 'rm -rf {out}/mbed-CY8CPROTO_062_4343W-shell-release/chip-*' - -# Building mbed-CY8CPROTO_062_4343W-shell-release -cmake --build {out}/mbed-CY8CPROTO_062_4343W-shell-release - -# Building mw320-all-clusters-app -ninja -C {out}/mw320-all-clusters-app - -# Building nrf-native-posix-64-tests -ninja -C {out}/nrf-native-posix-64-tests - -# Run Tests nrf-native-posix-64-tests -ctest --build-nocmake -V --output-on-failure --test-dir {out}/nrf-native-posix-64-tests - -# Building nrf-nrf52840dk-all-clusters -ninja -C {out}/nrf-nrf52840dk-all-clusters - -# Building nrf-nrf52840dk-all-clusters-minimal -ninja -C {out}/nrf-nrf52840dk-all-clusters-minimal - -# Building nrf-nrf52840dk-light -ninja -C {out}/nrf-nrf52840dk-light - -# Building nrf-nrf52840dk-light-rpc -ninja -C {out}/nrf-nrf52840dk-light-rpc - -# Building nrf-nrf52840dk-lock -ninja -C {out}/nrf-nrf52840dk-lock - -# Building nrf-nrf52840dk-pump -ninja -C {out}/nrf-nrf52840dk-pump - -# Building nrf-nrf52840dk-pump-controller -ninja -C {out}/nrf-nrf52840dk-pump-controller - -# Building nrf-nrf52840dk-shell -ninja -C {out}/nrf-nrf52840dk-shell - -# Building nrf-nrf52840dongle-all-clusters -ninja -C {out}/nrf-nrf52840dongle-all-clusters - -# Building nrf-nrf52840dongle-all-clusters-minimal -ninja -C {out}/nrf-nrf52840dongle-all-clusters-minimal - -# Building nrf-nrf52840dongle-light -ninja -C {out}/nrf-nrf52840dongle-light - -# Building nrf-nrf5340dk-all-clusters -ninja -C {out}/nrf-nrf5340dk-all-clusters - -# Building nrf-nrf5340dk-all-clusters-minimal -ninja -C {out}/nrf-nrf5340dk-all-clusters-minimal - -# Building nrf-nrf5340dk-light -ninja -C {out}/nrf-nrf5340dk-light - -# Building nrf-nrf5340dk-light-rpc -ninja -C {out}/nrf-nrf5340dk-light-rpc - -# Building nrf-nrf5340dk-lock -ninja -C {out}/nrf-nrf5340dk-lock - -# Building nrf-nrf5340dk-pump -ninja -C {out}/nrf-nrf5340dk-pump - -# Building nrf-nrf5340dk-pump-controller -ninja -C {out}/nrf-nrf5340dk-pump-controller - -# Building nrf-nrf5340dk-shell -ninja -C {out}/nrf-nrf5340dk-shell - -# Building qpg-light -ninja -C {out}/qpg-light - -# Building qpg-lock -ninja -C {out}/qpg-lock - -# Building qpg-persistent-storage -ninja -C {out}/qpg-persistent-storage - -# Building qpg-shell -ninja -C {out}/qpg-shell - -# Building telink-tlsr9518adk80d-light -ninja -C {out}/telink-tlsr9518adk80d-light - -# Building telink-tlsr9518adk80d-light-switch -ninja -C {out}/telink-tlsr9518adk80d-light-switch - -# Building tizen-arm-all-clusters -ninja -C {out}/tizen-arm-all-clusters - -# Building tizen-arm-all-clusters-asan -ninja -C {out}/tizen-arm-all-clusters-asan - -# Building tizen-arm-all-clusters-minimal -ninja -C {out}/tizen-arm-all-clusters-minimal - -# Building tizen-arm-all-clusters-minimal-asan -ninja -C {out}/tizen-arm-all-clusters-minimal-asan - -# Building tizen-arm-all-clusters-minimal-no-ble -ninja -C {out}/tizen-arm-all-clusters-minimal-no-ble - -# Building tizen-arm-all-clusters-minimal-no-ble-asan -ninja -C {out}/tizen-arm-all-clusters-minimal-no-ble-asan - -# Building tizen-arm-all-clusters-minimal-no-ble-no-wifi -ninja -C {out}/tizen-arm-all-clusters-minimal-no-ble-no-wifi - -# Building tizen-arm-all-clusters-minimal-no-ble-no-wifi-asan -ninja -C {out}/tizen-arm-all-clusters-minimal-no-ble-no-wifi-asan - -# Building tizen-arm-all-clusters-minimal-no-wifi -ninja -C {out}/tizen-arm-all-clusters-minimal-no-wifi - -# Building tizen-arm-all-clusters-minimal-no-wifi-asan -ninja -C {out}/tizen-arm-all-clusters-minimal-no-wifi-asan - -# Building tizen-arm-all-clusters-no-ble -ninja -C {out}/tizen-arm-all-clusters-no-ble - -# Building tizen-arm-all-clusters-no-ble-asan -ninja -C {out}/tizen-arm-all-clusters-no-ble-asan - -# Building tizen-arm-all-clusters-no-ble-no-wifi -ninja -C {out}/tizen-arm-all-clusters-no-ble-no-wifi - -# Building tizen-arm-all-clusters-no-ble-no-wifi-asan -ninja -C {out}/tizen-arm-all-clusters-no-ble-no-wifi-asan - -# Building tizen-arm-all-clusters-no-wifi -ninja -C {out}/tizen-arm-all-clusters-no-wifi - -# Building tizen-arm-all-clusters-no-wifi-asan -ninja -C {out}/tizen-arm-all-clusters-no-wifi-asan - -# Building tizen-arm-chip-tool -ninja -C {out}/tizen-arm-chip-tool - -# Building tizen-arm-chip-tool-asan -ninja -C {out}/tizen-arm-chip-tool-asan - -# Building tizen-arm-chip-tool-no-ble -ninja -C {out}/tizen-arm-chip-tool-no-ble - -# Building tizen-arm-chip-tool-no-ble-asan -ninja -C {out}/tizen-arm-chip-tool-no-ble-asan - -# Building tizen-arm-chip-tool-no-ble-no-wifi -ninja -C {out}/tizen-arm-chip-tool-no-ble-no-wifi - -# Building tizen-arm-chip-tool-no-ble-no-wifi-asan -ninja -C {out}/tizen-arm-chip-tool-no-ble-no-wifi-asan - -# Building tizen-arm-chip-tool-no-wifi -ninja -C {out}/tizen-arm-chip-tool-no-wifi - -# Building tizen-arm-chip-tool-no-wifi-asan -ninja -C {out}/tizen-arm-chip-tool-no-wifi-asan - -# Building tizen-arm-light -ninja -C {out}/tizen-arm-light - -# Building tizen-arm-light-asan -ninja -C {out}/tizen-arm-light-asan - -# Building tizen-arm-light-no-ble -ninja -C {out}/tizen-arm-light-no-ble - -# Building tizen-arm-light-no-ble-asan -ninja -C {out}/tizen-arm-light-no-ble-asan - -# Building tizen-arm-light-no-ble-no-wifi -ninja -C {out}/tizen-arm-light-no-ble-no-wifi - -# Building tizen-arm-light-no-ble-no-wifi-asan -ninja -C {out}/tizen-arm-light-no-ble-no-wifi-asan - -# Building tizen-arm-light-no-wifi -ninja -C {out}/tizen-arm-light-no-wifi - -# Building tizen-arm-light-no-wifi-asan -ninja -C {out}/tizen-arm-light-no-wifi-asan diff --git a/scripts/build/testdata/glob_star_targets_except_host.txt b/scripts/build/testdata/glob_star_targets_except_host.txt deleted file mode 100644 index 2db024a87fbd7e..00000000000000 --- a/scripts/build/testdata/glob_star_targets_except_host.txt +++ /dev/null @@ -1,117 +0,0 @@ -ameba-amebad-all-clusters -ameba-amebad-all-clusters-minimal -ameba-amebad-light -ameba-amebad-pigweed -android-androidstudio-arm-chip-tool -android-androidstudio-arm64-chip-tool -android-androidstudio-x64-chip-tool -android-androidstudio-x86-chip-tool -android-arm-chip-tool -android-arm-tv-casting-app -android-arm-tv-server -android-arm64-chip-test -android-arm64-chip-tool -android-arm64-tv-casting-app -android-arm64-tv-server -android-x64-chip-tool -android-x64-tv-server -android-x86-chip-tool -android-x86-tv-server -bl602-light -cc13x2x7_26x2x7-all-clusters -cc13x2x7_26x2x7-all-clusters-minimal -cc13x2x7_26x2x7-lock-ftd -cc13x2x7_26x2x7-lock-mtd -cc13x2x7_26x2x7-pump -cc13x2x7_26x2x7-pump-controller -cc13x2x7_26x2x7-shell -cc32xx-lock -cyw30739-cyw930739m2evb_01-light -cyw30739-cyw930739m2evb_01-lock -cyw30739-cyw930739m2evb_01-ota-requestor-no-progress-logging -efr32-brd4161a-light -efr32-brd4161a-light-rpc -efr32-brd4161a-lock -efr32-brd4161a-lock-rpc -efr32-brd4161a-switch -efr32-brd4161a-unit-test -efr32-brd4161a-window-covering -esp32-c3devkit-all-clusters -esp32-c3devkit-all-clusters-minimal -esp32-devkitc-all-clusters -esp32-devkitc-all-clusters-ipv6only -esp32-devkitc-all-clusters-minimal -esp32-devkitc-all-clusters-minimal-ipv6only -esp32-devkitc-bridge -esp32-devkitc-light -esp32-devkitc-lock -esp32-devkitc-ota-requestor -esp32-devkitc-ota-requestor-rpc -esp32-devkitc-shell -esp32-devkitc-temperature-measurement -esp32-devkitc-temperature-measurement-rpc -esp32-m5stack-all-clusters -esp32-m5stack-all-clusters-ipv6only -esp32-m5stack-all-clusters-minimal -esp32-m5stack-all-clusters-minimal-ipv6only -esp32-m5stack-all-clusters-minimal-rpc -esp32-m5stack-all-clusters-minimal-rpc-ipv6only -esp32-m5stack-all-clusters-rpc -esp32-m5stack-all-clusters-rpc-ipv6only -esp32-m5stack-ota-requestor -esp32-m5stack-ota-requestor-rpc -esp32-qemu-tests -imx-all-clusters-app -imx-all-clusters-app-release -imx-all-clusters-minimal-app -imx-all-clusters-minimal-app-release -imx-chip-tool -imx-chip-tool-release -imx-lighting-app -imx-lighting-app-release -imx-ota-provider-app -imx-ota-provider-app-release -imx-thermostat -imx-thermostat-release -infineon-psoc6-all-clusters -infineon-psoc6-all-clusters-minimal -infineon-psoc6-light -infineon-psoc6-lock -k32w-light-release-no-ota -k32w-lock-release -k32w-shell-release -mbed-CY8CPROTO_062_4343W-all-clusters-minimal-release -mbed-CY8CPROTO_062_4343W-all-clusters-release -mbed-CY8CPROTO_062_4343W-light-release -mbed-CY8CPROTO_062_4343W-lock-release -mbed-CY8CPROTO_062_4343W-pigweed-release -mbed-CY8CPROTO_062_4343W-shell-release -mw320-all-clusters-app -nrf-native-posix-64-tests -nrf-nrf52840dk-all-clusters -nrf-nrf52840dk-all-clusters-minimal -nrf-nrf52840dk-light -nrf-nrf52840dk-light-rpc -nrf-nrf52840dk-lock -nrf-nrf52840dk-pump -nrf-nrf52840dk-pump-controller -nrf-nrf52840dk-shell -nrf-nrf52840dongle-all-clusters-minimal -nrf-nrf52840dongle-light -nrf-nrf5340dk-all-clusters -nrf-nrf5340dk-all-clusters-minimal -nrf-nrf5340dk-light -nrf-nrf5340dk-lock -nrf-nrf5340dk-pump -nrf-nrf5340dk-pump-controller -nrf-nrf5340dk-shell -qpg-light -qpg-lock -qpg-persistent-storage -qpg-shell -telink-tlsr9518adk80d-light -telink-tlsr9518adk80d-light-switch -tizen-arm-all-clusters -tizen-arm-all-clusters-minimal -tizen-arm-chip-tool -tizen-arm-light From e3e35268febf484c44e0bf500c36dcd0a1eb318e Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Fri, 3 Feb 2023 09:43:51 -0600 Subject: [PATCH 37/40] code cleanup from PR feedback --- .../lock-app/cc32xx/main/CHIPDeviceManager.cpp | 9 --------- .../cc32xx/main/include/CHIPDeviceManager.h | 16 ---------------- 2 files changed, 25 deletions(-) diff --git a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp index 4aeac255c2be67..3ac2484808c9a5 100644 --- a/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp +++ b/examples/lock-app/cc32xx/main/CHIPDeviceManager.cpp @@ -25,12 +25,6 @@ #include #include "CHIPDeviceManager.h" -// #include -// #include -// #include -// #include -// #include -// #include using namespace ::chip; @@ -49,9 +43,6 @@ void CHIPDeviceManager::DeviceEventHandler(const ChipDeviceEvent * event, intptr } } -/** - * - */ CHIP_ERROR CHIPDeviceManager::Init(CHIPDeviceManagerCallbacks * cb) { mCB = cb; diff --git a/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h b/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h index 2c3d61b5b75aa0..b3b7db5cd0eba0 100644 --- a/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h +++ b/examples/lock-app/cc32xx/main/include/CHIPDeviceManager.h @@ -57,22 +57,6 @@ class DLL_EXPORT CHIPDeviceManagerCallbacks */ virtual void DeviceEventCallback(const chip::DeviceLayer::ChipDeviceEvent * event, intptr_t arg); - // /** - // * @brief - // * Called after an attribute has been changed - // * - // * @param endpoint endpoint id - // * @param clusterID cluster id - // * @param attributeId attribute id that was changed - // * @param manufacturerCode manufacturer code - // * @param type attribute type - // * @param size size of the attribute - // * @param value pointer to the new value - // */ - // virtual void PostAttributeChangeCallback(chip::EndpointId endpoint, chip::ClusterId clusterId, chip::AttributeId attributeId, - // uint8_t type, uint16_t size, uint8_t * value) - //{} - virtual ~CHIPDeviceManagerCallbacks(); }; From 07adb63f2f9aa9f985c31cf23920290684342c78 Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Fri, 3 Feb 2023 12:05:17 -0600 Subject: [PATCH 38/40] removed brackets from lock in all_targets_linux_x64.txt --- scripts/build/testdata/all_targets_linux_x64.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build/testdata/all_targets_linux_x64.txt b/scripts/build/testdata/all_targets_linux_x64.txt index c1c47fe5ed84d5..f6cdca0035930a 100644 --- a/scripts/build/testdata/all_targets_linux_x64.txt +++ b/scripts/build/testdata/all_targets_linux_x64.txt @@ -2,7 +2,7 @@ ameba-amebad-{all-clusters,all-clusters-minimal,light,light-switch,pigweed} android-{arm,arm64,x86,x64,androidstudio-arm,androidstudio-arm64,androidstudio-x86,androidstudio-x64}-{chip-tool,chip-test,tv-server,tv-casting-app,java-matter-controller} bouffalolab-{bl602-iot-matter-v1,bl602-iot-dvk-3s,bl602-night-light,xt-zb6-devkit,bl706-iot-dvk,bl706-night-light}-light[-shell][-115200][-rpc] cc13x2x7_26x2x7-{all-clusters,all-clusters-minimal,lock,pump,pump-controller,shell}[-ftd][-mtd] -cc32xx-{lock} +cc32xx-lock cyw30739-cyw930739m2evb_01-{light,lock,ota-requestor}[-no-progress-logging] efr32-{brd4161a,brd4187c,brd4163a,brd4164a,brd4166a,brd4170a,brd4186a,brd4187a,brd4304a}-{window-covering,switch,unit-test,light,lock}[-rpc][-with-ota-requestor][-sed][-low-power][-shell][-no_logging][-openthread_mtd][-enable_heap_monitoring][-no_openthread_cli][-show_qr_code][-wifi][-rs911x][-wf200][-wifi_ipv4][-additional_data_advertising][-use_ot_lib][-use_ot_coap_lib][-no-version] esp32-{m5stack,c3devkit,devkitc,qemu}-{all-clusters,all-clusters-minimal,ota-provider,ota-requestor,shell,light,lock,bridge,temperature-measurement,ota-requestor,tests}[-rpc][-ipv6only] From c05f81d11c36716bf61ba7875bb63d3f46900a1d Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Fri, 3 Feb 2023 14:35:34 -0600 Subject: [PATCH 39/40] empty commit From 43032b1a0266061ff761eeeae8a7e56ce75481ae Mon Sep 17 00:00:00 2001 From: Anu Biradar Date: Mon, 6 Feb 2023 14:31:14 -0600 Subject: [PATCH 40/40] increased job timeout limit --- .github/workflows/examples-cc32xx.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/examples-cc32xx.yaml b/.github/workflows/examples-cc32xx.yaml index 1c6cb6fcdcaf7e..eb82b9c340d48f 100644 --- a/.github/workflows/examples-cc32xx.yaml +++ b/.github/workflows/examples-cc32xx.yaml @@ -25,7 +25,7 @@ concurrency: jobs: cc32xx: name: cc32xx - timeout-minutes: 60 + timeout-minutes: 100 env: BUILD_TYPE: gn_cc32xx