Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
0015e25
[nrf noup] Add Zephyr module manifest in the root directory
Damian-Nordic Jan 28, 2021
0bd444b
[nrf noup] add workflow for building CHIP tools
Damian-Nordic Jul 26, 2021
20a01c6
[nrf noup] Set nRF Connect SDK recommended version
kkasperczyk-no Nov 17, 2021
f928e05
[nrf noup] update the Zephyr include path.
markaj-nordic Apr 29, 2022
7dfcc48
[nrf fromlist] Refactored OnboardingCodesUtil to decrease memory foot…
kkasperczyk-no May 11, 2022
3662b72
[nrf fromlist] [zephyr] Fix realtime clock
Damian-Nordic May 16, 2022
ad3feac
[nrf noup] Fixed relative reference in documentation.
kkasperczyk-no May 17, 2022
4f5cc99
[nrf noup] matter: Update default for matter to enable nrf_oberon
frkv May 13, 2022
a79fe42
[nrf noup] Moved putting QSPI to sleep after OTA requestor init
kkasperczyk-no May 17, 2022
034992b
[nrf fromlist][setup_payload] Fixed bug with not reducing span size p…
kkasperczyk-no May 19, 2022
5547a6e
[nrf fromtree] [opcreds] Fix LEAVE event on RemoveFabric (#18434)
Damian-Nordic May 17, 2022
d492ce7
[nrf fromlist] [nrfconnect] Minor OTA Requestor fixes
Damian-Nordic May 19, 2022
90a41a6
[nrf noup] Bump release_tools workflow Docker image
Damian-Nordic May 23, 2022
55b65c0
[nrf noup] Use DFU Multi Image library
Damian-Nordic May 24, 2022
fc6a52c
[nrf fromtee] [nrfconnect] Fixed window covering bug in updating clus…
kkasperczyk-no May 25, 2022
cf449fd
[nrf noup] Fix Android CHIPTool multi-admin commands
Damian-Nordic May 25, 2022
cdee751
[nrf noup] Enable NVS lookup cache by default
Damian-Nordic May 25, 2022
2f793b2
[nrf noup] Always set UPDATEABLE_IMAGE_NUMBER=2 for nRF53
Damian-Nordic May 25, 2022
a5d1859
[nrf noup] [android] Use ScrollView in main screen
Damian-Nordic May 26, 2022
7c52be9
[nrf noup] [android] Fix crash on DoorLock.lockDoor command
Damian-Nordic May 26, 2022
7a4b10c
[nrf noup] Build OTA Provider for Linux in release_tools
Damian-Nordic May 26, 2022
7e7bbb8
[nrf noup] Update Python modules on nRF Connect update
Damian-Nordic Jun 14, 2022
bfdc37b
[nrf noup] Fetch cbor2 on bootstrap.sh
Damian-Nordic Jun 14, 2022
3d45d84
[nrf fromtree] bump ca-certificate version in cirque docker (#19368)
yunhanw-google Jun 9, 2022
f6dcf1c
[nrf noup] Use "continue-on-error" for examples in CI
Damian-Nordic Jun 15, 2022
86cf627
[nrf fromtree] Initialize CASESessionManager's mrpLocalConfig in Serv…
selissia Jun 20, 2022
0b457ec
[nrf noup] Set NVS_LOOKUP_CACHE_SIZE in the Matter Kconfig.defaults
kkasperczyk-no Jun 28, 2022
990af65
[nrf fromtree] submodule: bump third_party/openthread/repo from `130a…
jwhui Jun 25, 2022
0ad8f70
[nrf fromtree] openthread: enable SRP Client auto host address mode (…
jwhui Jun 26, 2022
061d0bb
Revert "[nrf fromtree] openthread: enable SRP Client auto host addres…
Damian-Nordic Aug 1, 2022
7977a70
Revert "[nrf fromtree] submodule: bump third_party/openthread/repo fr…
Damian-Nordic Aug 1, 2022
6873977
Revert "[nrf noup] Set NVS_LOOKUP_CACHE_SIZE in the Matter Kconfig.de…
Damian-Nordic Aug 1, 2022
e386b61
Revert "[nrf fromtree] Initialize CASESessionManager's mrpLocalConfig…
Damian-Nordic Aug 1, 2022
00310aa
Revert "[nrf fromtree] bump ca-certificate version in cirque docker (…
Damian-Nordic Aug 1, 2022
e2b4034
Revert "[nrf noup] Fetch cbor2 on bootstrap.sh"
Damian-Nordic Aug 1, 2022
079df22
Revert "[nrf noup] Update Python modules on nRF Connect update"
Damian-Nordic Aug 1, 2022
68a14c4
Revert "[nrf noup] [android] Fix crash on DoorLock.lockDoor command"
Damian-Nordic Aug 1, 2022
d6bf32d
Revert "[nrf noup] [android] Use ScrollView in main screen"
Damian-Nordic Aug 1, 2022
1d0620a
Revert "[nrf noup] Always set UPDATEABLE_IMAGE_NUMBER=2 for nRF53"
Damian-Nordic Aug 1, 2022
7e2abeb
Revert "[nrf noup] Enable NVS lookup cache by default"
Damian-Nordic Aug 1, 2022
749c567
Revert "[nrf noup] Fix Android CHIPTool multi-admin commands"
Damian-Nordic Aug 1, 2022
0510fdc
Revert "[nrf fromtee] [nrfconnect] Fixed window covering bug in updat…
Damian-Nordic Aug 1, 2022
b851f66
Revert "[nrf noup] Use DFU Multi Image library"
Damian-Nordic Aug 1, 2022
fb2a444
Revert "[nrf fromlist] [nrfconnect] Minor OTA Requestor fixes"
Damian-Nordic Aug 1, 2022
0b98777
Revert "[nrf fromtree] [opcreds] Fix LEAVE event on RemoveFabric (#18…
Damian-Nordic Aug 1, 2022
dd05347
Revert "[nrf fromlist][setup_payload] Fixed bug with not reducing spa…
Damian-Nordic Aug 1, 2022
2cea269
Revert "[nrf noup] Moved putting QSPI to sleep after OTA requestor init"
Damian-Nordic Aug 1, 2022
69b5ede
Revert "[nrf noup] matter: Update default for matter to enable nrf_ob…
Damian-Nordic Aug 1, 2022
055b703
Revert "[nrf noup] Fixed relative reference in documentation."
Damian-Nordic Aug 1, 2022
f1e40a6
Revert "[nrf fromlist] [zephyr] Fix realtime clock"
Damian-Nordic Aug 1, 2022
6783737
Revert "[nrf fromlist] Refactored OnboardingCodesUtil to decrease mem…
Damian-Nordic Aug 1, 2022
dac6110
Revert "[nrf noup] update the Zephyr include path."
Damian-Nordic Aug 1, 2022
9e47abe
Revert "[nrf noup] Use "continue-on-error" for examples in CI"
Damian-Nordic Aug 1, 2022
cd28afa
Revert "[nrf noup] Build OTA Provider for Linux in release_tools"
Damian-Nordic Aug 1, 2022
5fe790e
Revert "[nrf noup] Bump release_tools workflow Docker image"
Damian-Nordic Aug 1, 2022
95c9af0
Revert "[nrf noup] Set nRF Connect SDK recommended version"
Damian-Nordic Aug 1, 2022
aebb952
Revert "[nrf noup] add workflow for building CHIP tools"
Damian-Nordic Aug 1, 2022
38831f6
[nrf mergeup] Merge commit '41cb8220744f2587413d0723e24847f07d6ac59f'
Damian-Nordic Aug 1, 2022
21aedd0
[nrf noup] add workflow for building CHIP tools
Damian-Nordic Jul 26, 2021
f93f0b5
[nrf noup] Set nRF Connect SDK recommended version
kkasperczyk-no Nov 17, 2021
74e68fb
[nrf noup] Fixed relative reference in documentation.
kkasperczyk-no May 17, 2022
1c1efa7
[nrf noup] Build OTA Provider for Linux in release_tools
Damian-Nordic May 23, 2022
f2334b3
[nrf noup] Use "continue-on-error" for examples in CI
Damian-Nordic Jun 15, 2022
632800f
[nrf noup] Set NVS_LOOKUP_CACHE_SIZE in the Matter Kconfig.defaults
kkasperczyk-no Jun 28, 2022
0c76f34
Bump third_party/pigweed/repo from `9ac358b` to `baf04ad`
dependabot[bot] Mar 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 0 additions & 115 deletions .github/workflows/doxygen.yaml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/examples-nrfconnect.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,13 @@ jobs:
- name: Update nRF Connect SDK revision to the currently recommended.
timeout-minutes: 15
run: scripts/run_in_build_env.sh "python3 scripts/setup/nrfconnect/update_ncs.py --update --shallow"
continue-on-error: true
- name: Run unit tests of factory data generation script
timeout-minutes: 15
run: scripts/run_in_build_env.sh "./scripts/tools/nrfconnect/tests/test_generate_factory_data.py"
- name: Build example nRF Connect SDK Lock App on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lock-app nrf52840dk_nrf52840
Expand All @@ -97,6 +99,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lighting App on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lighting-app nrf52840dk_nrf52840
Expand All @@ -106,6 +109,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lighting App on nRF52840 Dongle
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lighting-app nrf52840dongle_nrf52840 -DCONF_FILE=prj_no_dfu.conf -DCONFIG_CHIP_ROTATING_DEVICE_ID=y
Expand All @@ -115,6 +119,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lighting App on nRF52840 DK with RPC
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
continue-on-error: true
timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh lighting-app nrf52840dk_nrf52840 -DOVERLAY_CONFIG=rpc.overlay
Expand All @@ -124,6 +129,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Shell on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.shell == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh shell nrf52840dk_nrf52840
Expand All @@ -133,6 +139,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Pigweed on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.pigweed-app == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh pigweed-app nrf52840dk_nrf52840
Expand All @@ -142,6 +149,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lock App on nRF5340 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lock-app nrf5340dk_nrf5340_cpuapp
Expand All @@ -151,6 +159,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Lighting App on nRF5340 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh lighting-app nrf5340dk_nrf5340_cpuapp
Expand All @@ -160,6 +169,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Pump App on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh pump-app nrf52840dk_nrf52840
Expand All @@ -169,6 +179,7 @@ jobs:
/tmp/bloat_reports/
- name: Build example nRF Connect SDK Pump Controller App on nRF52840 DK
if: github.event_name == 'push' || steps.changed_paths.outputs.nrfconnect == 'true'
continue-on-error: true
timeout-minutes: 15
run: |
scripts/examples/nrfconnect_example.sh pump-controller-app nrf52840dk_nrf52840
Expand All @@ -177,6 +188,7 @@ jobs:
examples/pump-controller-app/nrfconnect/build/zephyr/zephyr.elf \
/tmp/bloat_reports/
- name: Build example nRF Connect SDK All Clusters App on nRF52840 DK
continue-on-error: true
timeout-minutes: 20
run: |
scripts/examples/nrfconnect_example.sh all-clusters-app nrf52840dk_nrf52840 -DCONF_FILE=prj_dfu.conf
Expand Down
140 changes: 140 additions & 0 deletions .github/workflows/release_tools.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
# 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: Release CHIP Tools

on:
workflow_dispatch:
inputs:
commit:
description: "Release tag name or commit SHA:"
required: true
publishRelease:
description: "Publish release packages (if true, 'commit' must contain a release tag name):"
required: true
default: "false"

jobs:
tools:
name: Build CHIP Tools
timeout-minutes: 60

runs-on: ubuntu-latest

env:
DEBIAN_FRONTEND: noninteractive
JAVA_HOME: /usr/lib/jvm/java-8-openjdk-amd64/

container:
image: connectedhomeip/chip-build-android:0.5.91
volumes:
- "/tmp/log_output:/tmp/test_logs"
- "/tmp/output_binaries:/tmp/output_binaries"

steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: "${{ github.event.inputs.commit }}"
- name: Checkout submodules
run: scripts/checkout_submodules.py --shallow --platform android linux
- name: Bootstrap
timeout-minutes: 10
run: scripts/build/gn_bootstrap.sh
- name: Install CHIP Tool dependencies
timeout-minutes: 10
run: |
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports $(lsb_release -sc) main restricted" > /etc/apt/sources.list.d/arm64.list
echo "deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports $(lsb_release -sc)-updates main restricted" >> /etc/apt/sources.list.d/arm64.list
apt update
apt install -y --no-install-recommends -o APT::Immediate-Configure=false g++-aarch64-linux-gnu libgirepository1.0-dev
dpkg --add-architecture arm64
apt install -y --no-install-recommends -o APT::Immediate-Configure=false libavahi-client-dev:arm64 libglib2.0-dev:arm64 libssl-dev:arm64 libreadline-dev:arm64
- name: Build x64 CHIP Tool with debug logs enabled
timeout-minutes: 10
run: |
scripts/run_in_build_env.sh "gn gen out/chiptool_x64_debug --args='chip_mdns=\"platform\" symbol_level=0'"
scripts/run_in_build_env.sh "ninja -C out/chiptool_x64_debug chip-tool"
mv out/chiptool_x64_debug/chip-tool out/chiptool_x64_debug/chip-tool-debug
- name: Build x64 CHIP Tool with debug logs disabled
timeout-minutes: 10
run: |
scripts/run_in_build_env.sh "gn gen out/chiptool_x64_release --args='chip_mdns=\"platform\" chip_detail_logging=false symbol_level=0'"
scripts/run_in_build_env.sh "ninja -C out/chiptool_x64_release chip-tool"
mv out/chiptool_x64_release/chip-tool out/chiptool_x64_release/chip-tool-release
- name: Build arm64 CHIP Tool with debug logs enabled
timeout-minutes: 10
run: |
scripts/run_in_build_env.sh "gn gen out/chiptool_arm64_debug --args='chip_mdns=\"platform\"
custom_toolchain=\"//build/toolchain/custom\"
target_cc=\"aarch64-linux-gnu-gcc\"
target_cxx=\"aarch64-linux-gnu-g++\"
target_ar=\"aarch64-linux-gnu-ar\"
target_cpu=\"arm64\"
symbol_level=0'"
scripts/run_in_build_env.sh "ninja -C out/chiptool_arm64_debug chip-tool"
mv out/chiptool_arm64_debug/chip-tool out/chiptool_arm64_debug/chip-tool-debug
- name: Build arm64 CHIP Tool with debug logs disabled
timeout-minutes: 10
run: |
scripts/run_in_build_env.sh "gn gen out/chiptool_arm64_release --args='chip_mdns=\"platform\"
chip_detail_logging=false
custom_toolchain=\"//build/toolchain/custom\"
target_cc=\"aarch64-linux-gnu-gcc\"
target_cxx=\"aarch64-linux-gnu-g++\"
target_ar=\"aarch64-linux-gnu-ar\"
target_cpu=\"arm64\"
symbol_level=0'"
scripts/run_in_build_env.sh "ninja -C out/chiptool_arm64_release chip-tool"
mv out/chiptool_arm64_release/chip-tool out/chiptool_arm64_release/chip-tool-release
- name: Build x64 OTA Provider
timeout-minutes: 10
run: |
scripts/run_in_build_env.sh "gn gen out/chipotaprovider_x64 --args='symbol_level=0' --root=examples/ota-provider-app/linux"
scripts/run_in_build_env.sh "ninja -C out/chipotaprovider_x64 chip-ota-provider-app"
mv out/chipotaprovider_x64/chip-ota-provider-app /tmp/output_binaries/chip-ota-provider-app-linux_x64
- name: Create zip files for CHIP Tool debug and release packages
timeout-minutes: 10
run: |
python3 -m zipfile -c /tmp/output_binaries/chip-tool-linux_x64.zip out/chiptool_x64_debug/chip-tool-debug out/chiptool_x64_release/chip-tool-release
python3 -m zipfile -c /tmp/output_binaries/chip-tool-linux_aarch64.zip out/chiptool_arm64_debug/chip-tool-debug out/chiptool_arm64_release/chip-tool-release
- name: Build arm Android CHIPTool
timeout-minutes: 30
env:
TARGET_CPU: arm
run: |
scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target android-arm-chip-tool build"
cp out/android-arm-chip-tool/outputs/apk/debug/app-debug.apk /tmp/output_binaries/chip-tool-android_armv7l.apk
- name: Build arm64 Android CHIPTool
timeout-minutes: 30
env:
TARGET_CPU: arm64
run: |
git clean -fdx src/android/CHIPTool
scripts/run_in_build_env.sh "./scripts/build/build_examples.py --target android-arm64-chip-tool build"
cp out/android-arm64-chip-tool/outputs/apk/debug/app-debug.apk /tmp/output_binaries/chip-tool-android_aarch64.apk
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: chip
path: /tmp/output_binaries/*
- name: Upload release packages
uses: softprops/action-gh-release@v1
if: github.event.inputs.publishRelease == 'true'
with:
files: /tmp/output_binaries/*
fail_on_unmatched_files: true
tag_name: "${{ github.event.inputs.commit }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion config/nrfconnect/.nrfconnect-recommended-revision
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2.0.2
origin/main
4 changes: 4 additions & 0 deletions config/nrfconnect/chip-module/Kconfig.defaults
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ config CHIP_DEVICE_PRODUCT_ID
int
default 32768

config NVS_LOOKUP_CACHE_SIZE
int
default 512

# Disable certain parts of Zephyr IPv6 stack
config NET_IPV6_NBR_CACHE
bool
Expand Down
2 changes: 1 addition & 1 deletion docs/guides/chip_tool_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ rm -fr /tmp/chip_*
```

Developer details on how the test suite is structured can be found
[here](../../src/app/tests/suites/README.md).
[here](https://github.com/project-chip/connectedhomeip/blob/master/src/app/tests/suites/README.md).

### Parsing the setup payload

Expand Down
Loading