Skip to content

Commit f9d9457

Browse files
s07641069andriy-bilynskyyrestyled-commits
authored
[Telink] Use latest Zephyr (SDK 0.15.2) & migrate to Zephyr BLE implementation & Update every image to 0.6.17 (#23827)
* [Telink] Migrate to Telink Zephyr BLE implementation * [Telink] Rework to generic build configuration * [Telink] Fix problems for all apps after rebase Zephyr * [Telink] Telink update to latest Zephyr with BLE impl & Update every image to 0.6.17 * [Telink] Restyle * [Telink] code review fixes * [Telink] Fix build of ota-requstor-app * [Telink] increase build timeout for k32w * Fix BLE device name Function bt_enable() from zephyr resets device name to default value * Restyled by clang-format Co-authored-by: Andrii Bilynskyi <andrii.bilynskyi@telink-semi.com> Co-authored-by: Restyled.io <commits@restyled.io>
1 parent 21245f4 commit f9d9457

File tree

74 files changed

+714
-1116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+714
-1116
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"build": {
1818
"dockerfile": "Dockerfile",
1919
"args": {
20-
"BUILD_VERSION": "0.6.06"
20+
"BUILD_VERSION": "0.6.17"
2121
}
2222
},
2323
"remoteUser": "vscode",

.github/workflows/bloat_check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131

3232
container:
33-
image: connectedhomeip/chip-build:0.6.06
33+
image: connectedhomeip/chip-build:0.6.17
3434

3535
steps:
3636
- uses: Wandalen/wretry.action@v1.0.36

.github/workflows/build.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: github.actor != 'restyled-io[bot]'
3333

3434
container:
35-
image: connectedhomeip/chip-build:0.6.06
35+
image: connectedhomeip/chip-build:0.6.17
3636
volumes:
3737
- "/tmp/log_output:/tmp/test_logs"
3838
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
@@ -133,7 +133,7 @@ jobs:
133133
if: github.actor != 'restyled-io[bot]'
134134

135135
container:
136-
image: connectedhomeip/chip-build:0.6.06
136+
image: connectedhomeip/chip-build:0.6.17
137137
volumes:
138138
- "/tmp/log_output:/tmp/test_logs"
139139
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
@@ -303,7 +303,7 @@ jobs:
303303
if: github.actor != 'restyled-io[bot]'
304304

305305
container:
306-
image: connectedhomeip/chip-build:0.6.06
306+
image: connectedhomeip/chip-build:0.6.17
307307
volumes:
308308
- "/tmp/log_output:/tmp/test_logs"
309309
options: --sysctl "net.ipv6.conf.all.disable_ipv6=0

.github/workflows/chef.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
if: github.actor != 'restyled-io[bot]'
3030

3131
container:
32-
image: connectedhomeip/chip-build:0.6.06
32+
image: connectedhomeip/chip-build:0.6.17
3333
options: --user root
3434

3535
steps:
@@ -57,7 +57,7 @@ jobs:
5757
if: github.actor != 'restyled-io[bot]'
5858

5959
container:
60-
image: connectedhomeip/chip-build-esp32:0.6.06
60+
image: connectedhomeip/chip-build-esp32:0.6.17
6161
options: --user root
6262

6363
steps:
@@ -85,7 +85,7 @@ jobs:
8585
if: github.actor != 'restyled-io[bot]'
8686

8787
container:
88-
image: connectedhomeip/chip-build-nrf-platform:0.6.06
88+
image: connectedhomeip/chip-build-nrf-platform:0.6.17
8989
options: --user root
9090

9191
steps:

.github/workflows/cirque.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
timeout-minutes: 90
3030

3131
env:
32-
DOCKER_RUN_VERSION: 0.6.06
32+
DOCKER_RUN_VERSION: 0.6.17
3333
GITHUB_CACHE_PATH: /tmp/cirque-cache/
3434

3535
runs-on: ubuntu-latest
@@ -38,7 +38,7 @@ jobs:
3838
# need to run with privilege, which isn't supported by job.XXX.contaner
3939
# https://github.com/actions/container-action/issues/2
4040
# container:
41-
# image: connectedhomeip/chip-build-cirque:0.6.06
41+
# image: connectedhomeip/chip-build-cirque:0.6.17
4242
# volumes:
4343
# - "/tmp:/tmp"
4444
# - "/dev/pts:/dev/pts"

.github/workflows/doxygen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282

8383
runs-on: ubuntu-20.04
8484
container:
85-
image: connectedhomeip/chip-build-doxygen:0.6.06
85+
image: connectedhomeip/chip-build-doxygen:0.6.17
8686

8787
if: github.actor != 'restyled-io[bot]'
8888

.github/workflows/examples-ameba.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: github.actor != 'restyled-io[bot]'
3333

3434
container:
35-
image: connectedhomeip/chip-build-ameba:0.6.06
35+
image: connectedhomeip/chip-build-ameba:0.6.17
3636
options: --user root
3737

3838
steps:

.github/workflows/examples-bouffalolab.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
if: github.actor != 'restyled-io[bot]'
3232

3333
container:
34-
image: connectedhomeip/chip-build-bouffalolab:0.6.12
34+
image: connectedhomeip/chip-build-bouffalolab:0.6.17
3535
volumes:
3636
- "/tmp/bloat_reports:/tmp/bloat_reports"
3737
steps:
@@ -87,7 +87,7 @@ jobs:
8787
if: github.actor != 'restyled-io[bot]'
8888

8989
container:
90-
image: connectedhomeip/chip-build-bouffalolab:0.6.12
90+
image: connectedhomeip/chip-build-bouffalolab:0.6.17
9191
volumes:
9292
- "/tmp/bloat_reports:/tmp/bloat_reports"
9393
steps:

.github/workflows/examples-cc13x2x7_26x2x7.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build-ti:0.6.06
37+
image: connectedhomeip/chip-build-ti:0.6.17
3838
volumes:
3939
- "/tmp/bloat_reports:/tmp/bloat_reports"
4040
steps:

.github/workflows/examples-efr32.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: github.actor != 'restyled-io[bot]'
3636

3737
container:
38-
image: connectedhomeip/chip-build-efr32:0.6.06
38+
image: connectedhomeip/chip-build-efr32:0.6.17
3939
volumes:
4040
- "/tmp/bloat_reports:/tmp/bloat_reports"
4141
steps:

.github/workflows/examples-esp32.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
if: github.actor != 'restyled-io[bot]'
3232

3333
container:
34-
image: connectedhomeip/chip-build-esp32:0.6.06
34+
image: connectedhomeip/chip-build-esp32:0.6.17
3535
volumes:
3636
- "/tmp/bloat_reports:/tmp/bloat_reports"
3737

@@ -137,7 +137,7 @@ jobs:
137137
if: github.actor != 'restyled-io[bot]'
138138

139139
container:
140-
image: connectedhomeip/chip-build-esp32:0.6.06
140+
image: connectedhomeip/chip-build-esp32:0.6.17
141141
volumes:
142142
- "/tmp/bloat_reports:/tmp/bloat_reports"
143143

.github/workflows/examples-infineon.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: github.actor != 'restyled-io[bot]'
3333

3434
container:
35-
image: connectedhomeip/chip-build-infineon:0.6.06
35+
image: connectedhomeip/chip-build-infineon:0.6.17
3636
volumes:
3737
- "/tmp/bloat_reports:/tmp/bloat_reports"
3838
steps:

.github/workflows/examples-k32w.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build-k32w:0.6.06
37+
image: connectedhomeip/chip-build-k32w:0.6.17
3838
volumes:
3939
- "/tmp/bloat_reports:/tmp/bloat_reports"
4040
steps:
@@ -67,7 +67,7 @@ jobs:
6767
.environment/gn_out/.ninja_log
6868
.environment/pigweed-venv/*.log
6969
- name: Build examples
70-
timeout-minutes: 30
70+
timeout-minutes: 40
7171
run: |
7272
scripts/run_in_build_env.sh "\
7373
./scripts/build/build_examples.py \

.github/workflows/examples-linux-arm.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
if: github.actor != 'restyled-io[bot]'
3232

3333
container:
34-
image: connectedhomeip/chip-build-crosscompile:0.6.06
34+
image: connectedhomeip/chip-build-crosscompile:0.6.17
3535
volumes:
3636
- "/tmp/bloat_reports:/tmp/bloat_reports"
3737

.github/workflows/examples-linux-imx.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
if: github.actor != 'restyled-io[bot]'
3232

3333
container:
34-
image: connectedhomeip/chip-build-imx:0.6.06
34+
image: connectedhomeip/chip-build-imx:0.6.17
3535

3636
steps:
3737
- uses: Wandalen/wretry.action@v1.0.36

.github/workflows/examples-linux-standalone.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build:0.6.06
37+
image: connectedhomeip/chip-build:0.6.17
3838
volumes:
3939
- "/tmp/bloat_reports:/tmp/bloat_reports"
4040

.github/workflows/examples-mbed.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
if: github.actor != 'restyled-io[bot]'
3838

3939
container:
40-
image: connectedhomeip/chip-build-mbed-os:0.6.06
40+
image: connectedhomeip/chip-build-mbed-os:0.6.17
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343

.github/workflows/examples-mw320.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build:0.6.06
37+
image: connectedhomeip/chip-build:0.6.17
3838
volumes:
3939
- "/tmp/bloat_reports:/tmp/bloat_reports"
4040
steps:

.github/workflows/examples-nrfconnect.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build-nrf-platform:0.6.06
37+
image: connectedhomeip/chip-build-nrf-platform:0.6.17
3838
volumes:
3939
- "/tmp/bloat_reports:/tmp/bloat_reports"
4040

.github/workflows/examples-qpg.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build:0.6.06
37+
image: connectedhomeip/chip-build:0.6.17
3838
volumes:
3939
- "/tmp/bloat_reports:/tmp/bloat_reports"
4040
steps:

.github/workflows/examples-telink.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: github.actor != 'restyled-io[bot]'
3333

3434
container:
35-
image: connectedhomeip/chip-build-telink:0.6.06
35+
image: connectedhomeip/chip-build-telink:0.6.17
3636
volumes:
3737
- "/tmp/bloat_reports:/tmp/bloat_reports"
3838

.github/workflows/examples-tizen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
if: github.actor != 'restyled-io[bot]'
3333

3434
container:
35-
image: connectedhomeip/chip-build-tizen:0.6.06
35+
image: connectedhomeip/chip-build-tizen:0.6.17
3636
options: --user root
3737
volumes:
3838
- "/tmp/bloat_reports:/tmp/bloat_reports"

.github/workflows/full-android.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build-android:0.6.06
37+
image: connectedhomeip/chip-build-android:0.6.17
3838
volumes:
3939
- "/tmp/log_output:/tmp/test_logs"
4040

.github/workflows/fuzzing-build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
if: github.actor != 'restyled-io[bot]'
3232

3333
container:
34-
image: connectedhomeip/chip-build:0.6.06
34+
image: connectedhomeip/chip-build:0.6.17
3535
volumes:
3636
- "/tmp/log_output:/tmp/test_logs"
3737

.github/workflows/lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
if: github.actor != 'restyled-io[bot]'
2929

3030
container:
31-
image: connectedhomeip/chip-build:0.6.06
31+
image: connectedhomeip/chip-build:0.6.17
3232

3333
steps:
3434
- uses: Wandalen/wretry.action@v1.0.36

.github/workflows/qemu.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build-esp32-qemu:0.6.06
37+
image: connectedhomeip/chip-build-esp32-qemu:0.6.17
3838
volumes:
3939
- "/tmp/log_output:/tmp/test_logs"
4040

.github/workflows/release_artifacts.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030

3131
container:
32-
image: connectedhomeip/chip-build-esp32:0.6.06
32+
image: connectedhomeip/chip-build-esp32:0.6.17
3333

3434
steps:
3535
- uses: Wandalen/wretry.action@v1.0.36
@@ -75,7 +75,7 @@ jobs:
7575
runs-on: ubuntu-latest
7676

7777
container:
78-
image: connectedhomeip/chip-build-efr32:0.6.06
78+
image: connectedhomeip/chip-build-efr32:0.6.17
7979
steps:
8080
- uses: Wandalen/wretry.action@v1.0.36
8181
name: Checkout

.github/workflows/smoketest-android.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: github.actor != 'restyled-io[bot]'
3535

3636
container:
37-
image: connectedhomeip/chip-build-android:0.6.06
37+
image: connectedhomeip/chip-build-android:0.6.17
3838
volumes:
3939
- "/tmp/log_output:/tmp/test_logs"
4040

.github/workflows/tests.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
runs-on: ubuntu-latest
4545

4646
container:
47-
image: connectedhomeip/chip-build:0.6.06
47+
image: connectedhomeip/chip-build:0.6.17
4848
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
4949
net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1"
5050

@@ -347,7 +347,7 @@ jobs:
347347
runs-on: ubuntu-latest
348348

349349
container:
350-
image: connectedhomeip/chip-build:0.6.06
350+
image: connectedhomeip/chip-build:0.6.17
351351
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
352352
net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
353353

@@ -420,7 +420,7 @@ jobs:
420420
runs-on: ubuntu-latest
421421

422422
container:
423-
image: connectedhomeip/chip-build:0.6.06
423+
image: connectedhomeip/chip-build:0.6.17
424424
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
425425
net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
426426

.github/workflows/unit_integration_test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
runs-on: ubuntu-latest
3838

3939
container:
40-
image: connectedhomeip/chip-build:0.6.06
40+
image: connectedhomeip/chip-build:0.6.17
4141
volumes:
4242
- "/tmp/log_output:/tmp/test_logs"
4343
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0 net.ipv4.conf.all.forwarding=1 net.ipv6.conf.all.forwarding=1"

.github/workflows/zap_regeneration.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
runs-on: ubuntu-20.04
3030
container:
31-
image: connectedhomeip/chip-build:0.6.15
31+
image: connectedhomeip/chip-build:0.6.17
3232
defaults:
3333
run:
3434
shell: sh

.github/workflows/zap_templates.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
runs-on: ubuntu-20.04
3131
container:
32-
image: connectedhomeip/chip-build:0.6.15
32+
image: connectedhomeip/chip-build:0.6.17
3333
defaults:
3434
run:
3535
shell: sh

.gitmodules

-4
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@
220220
path = third_party/infineon/psoc6/psoc6_sdk/libs/serial-flash
221221
url = https://github.com/Infineon/serial-flash
222222
platforms = infineon
223-
[submodule "third_party/telink_sdk/repo"]
224-
path = third_party/telink_sdk/repo
225-
url = https://github.com/telink-semi/telink_b91_ble_single_connection_sdk_matter
226-
platforms = telink
227223
[submodule "ti_simplelink_sdk"]
228224
path = third_party/ti_simplelink_sdk/repo_cc13xx_cc26xx
229225
url = https://github.com/TexasInstruments/cc13xx_cc26xx_sdk.git

0 commit comments

Comments
 (0)