Skip to content

Commit c336a41

Browse files
s07641069interferrestyled-commitsandriy-bilynskyyhaiwentelink
authored
[Telink] Extend CI (Zephyr 3.3 & 3.7 support) & Update compatible builds to docker version 125 (#36691)
* [Telink] Zephyr v3.7 update changes Adopted changes for Telink B9x board series for upcoming update of Zephyr version. Fixed err output from InitChipStack in mainCommon. Tested advertisement tested manually. * [Telink] Manual Zephyr SDK update to check CI jobs * [Telink] Fix build errors: - STREAM_FLASH_ERASE has direct dependencies STREAM_FLASH - GETOPT_LONG multiple definition error * [Telink] CONFIG_BOOT_MAX_IMG_SECTORS_AUTO used * [Telink] Fix build errors * [Telink] Reduce mcuboot partition size to 60Kb - Apply change for flash overlays <=2Mb - Possible after reducing CONFIG_BOOT_MAX_IMG_SECTORS * [Telink] Reduce NET_BUF_*_COUNT (to be tested) * [Telink] avoid using NEWLIB_LIBC (use PICOLIB) * Restyled by whitespace * Restyled by clang-format * [Telink] Update Zephyr revision & SDK * [Telink] Adopt TL3218 to latest Zephyr version * [Telink] Use 4mb flash for (B92) Light Switch App target build * [Telink] Fix W91 target build * [Telink] Fix B91 Mars target build * [Telink] Use correct if SOC_RISCV_TELINK_TL321X * [Telink] Fix retention target builds * [Telink] fixed W91 WiFi interface init reverted GetWifiInterface in InetUtils changes, added syntax fixes to Kconfigs.default * [Telink] Update to latest zephyr (develop_new_matter_fixes) hash * [Telink] memory layout and default config changes Reduced mcuboot partition by 0x1000 and removed two other partitions getting 0x3000 to distribute 0x4000 between slot0 and slot 1. Kconfig.defaults changes to reduce ROM usage on B92 lighting OTA. To be improved [Telink] reduced MCUboot partition for most targets increase of slot0,1, bootloader config changes [Telink] Fixed B9x platform startup Lack of MBEDTLS_ZEPHYR_ENTROPY config in defaults which led to InitChipStack 172 error. As result entropy failed in src/platform/Zephyr/PlatformManagerImpl.cpp [Telink] fixed B9x commissioning Reverted network buffers configs [Telink] TL3218 commissioning fixes Changes to fix TLx commissioning on new Zephyr [Telink] Zephyr revision update After merge updates. Kconfig change to fix TL3218 commissioning Reduced RAM usage to build TL3218 by COMMON_LIBC_MALLOC_ARENA_SIZE changing [Telink] zephyr version change, cleanup Changed MCUBOOT logs config, same for LZMA * [Telink] W91 OTA, Factory data commissioning fix Fixes full config target commissioning for W91. Been failing on `SendAttestationRequest` step, finished with `general error 0x01`. Tested manually with chip-tool on RPi on tlsr9118bdk40d * [Telink] W91 stacks increase Increased NET_MGMT_EVENT_STACK_SIZE by 122 B and IPC_SERVICE_BACKEND_ICMSG_WQ_STACK_SIZE by 256 B so that net_mgmt and icmsg_workq stack were used <90%. Jenkins reported thread analyzer warnings on that. * [Telink] review changes draft Reverted NET_BUF_RX/TX_COUNT * [Telink] Add tl7218 board. * [Telink] Fix compilation warnings. * [Telink] Fix config option. * [Telink] Cleanup MbedTLS configuration. * [Telink] Update tl721x default Kconfig - update the default values for BT_RX_STACK_SIZE and COMMON_LIBC_MALLOC_ARENA_SIZE for TL721X Signed-off-by: Jinmiao Yu <jinmiao.yu@telink-semi.com> * [Telink] Remove unused files * [Telink] Update Zephyr revision * [Telink] Clean config types * [Telink] Update Zephyr revision * [Telink] Increase BLE_CTRL_THREAD_STACK_SIZE (B92 SoC retention test) * [Telink] Fix compilation warninig * [Telink] TL7218 upgrade to support version A2 * [Telink] Remove unused file after resolve merge conflict * [Telink] Add tl7218_retention target * riscv: telink: seperate ram for tl3218x . - use retention mode to seperate ram. - reserve more ram for ilm. Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com> * [Telink] Fix broken GitHub CI after adding tl721x target * [Telink] remove temporary LZMA for tl321x due to bug * [Telink] Fix TELINK_TLX_MATTER_RETENTION_LAYOUT typo for BOARD_TL3218 * [Telink] Add GPIO/PWM required for TL721X telink-semi/hal_telink@62edeab * [Telink] Temporary disable B95 OTA failed build B95 will be removed fully in next commits * [Telink] Add missed clean out build output step * [Telink] adopt WiFi driver * [Telink] remove b95 SoC / TLSR9258a board (replaced by TL721x) * [Telink] Revert InetUtils.cpp Telink dependency * [Telink] zephyr versions compatibility changes (#382) * [Telink] zephyr versions compatibility changes * [Telink] Change Window Covering App default SoC W91 doesn't support PM * [Telink] Update Zephyr revision * [Telink] sync B92 flash layout * [Telink] Remove temp b92 4mb change * [Telink] Avoid main stack owerflow for w91 * [Telink] Update Zephyr revision * [Telink] manual sync after merge master * [Telink] Increase Main Stack size for W91 Update Zephyr revision * [Telink] Zephyr 3.3 backward compatibility support * riscv: telink: fix insufficient RAM when config LZMA (#384) - adjust the zephyr hash to 930b6d4 . Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com> * riscv: telink: add retention mode for buteo (#385) * riscv: telink: Update Zephyr hash - adjust the zephyr hash to 9e39d9f . - add tl3218x_retention target . Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com> * riscv: telink: remove retention build target for buteo Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com> * [Telink] Add comment --------- Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com> Co-authored-by: Alex Tsitsiura <s07641069@gmail.com> * [Telink] Fix commisioning issue due to missed MbedTLS module TODO: fix compilation warnings * telink: tl7218x: fix tercel retention (Update Zephyr hash) * [Telink] Optimize add MbedTLS definitions for Zephyr 3.3 without warnings * [Telink] Add zephyr_3.3 job * [Telink] Fix job name * [Telink] test same job name to avoid settings changes * [Telink] Use Shell for tl321x lighting build (Zephyr 3.3) * [Telink] Decrease number of CI builds for all PRs * [Telink] Update readme files * Update builds to docker version 121 * Restyled by prettier-markdown * Revert TI CC32XX image * Update builds to docker version 122 * [Telink] Add Thread Optimization Configs - OPENTHREAD_CSMABACKOFF_OPTIMIZATION - IEEE802154_TLX_OPTIMIZATION - set COMMON_LIBC_MALLOC_ARENA_SIZE to 20kb if tl7218x_retention for power consumption optimization based on d6882ec. * [Telink] Fix duplicated name of Size Reports * Update builds to docker version 123 * keep Tizen on 122 * Update builds to docker version 125 * revert cc32xx --------- Signed-off-by: Jinmiao Yu <jinmiao.yu@telink-semi.com> Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com> Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com> Co-authored-by: interfer <diman1436@gmail.com> Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Dmytro Huz <75682372+interfer@users.noreply.github.com> Co-authored-by: Andrii Bilynskyi <andrii.bilynskyi@telink-semi.com> Co-authored-by: Haiwen Xia <haiwen.xia@telink-semi.com> Co-authored-by: Serhii Salamakha <serhii.salamakha@gmail.com> Co-authored-by: fengtai-telink <fengtai.xie@telink-semi.com>
1 parent 5f2ba43 commit c336a41

File tree

66 files changed

+664
-138
lines changed

Some content is hidden

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

66 files changed

+664
-138
lines changed

.github/workflows/bloat_check.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535

3636
container:
37-
image: ghcr.io/project-chip/chip-build:119
37+
image: ghcr.io/project-chip/chip-build:125
3838

3939
steps:
4040
- name: Checkout

.github/workflows/build.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
if: github.actor != 'restyled-io[bot]'
4444

4545
container:
46-
image: ghcr.io/project-chip/chip-build:119
46+
image: ghcr.io/project-chip/chip-build:125
4747
volumes:
4848
- "/:/runner-root-volume"
4949
- "/tmp/log_output:/tmp/test_logs"
@@ -131,7 +131,7 @@ jobs:
131131
if: github.actor != 'restyled-io[bot]'
132132

133133
container:
134-
image: ghcr.io/project-chip/chip-build:119
134+
image: ghcr.io/project-chip/chip-build:125
135135
volumes:
136136
- "/:/runner-root-volume"
137137
- "/tmp/log_output:/tmp/test_logs"
@@ -305,7 +305,7 @@ jobs:
305305
if: github.actor != 'restyled-io[bot]'
306306

307307
container:
308-
image: ghcr.io/project-chip/chip-build:119
308+
image: ghcr.io/project-chip/chip-build:125
309309
volumes:
310310
- "/:/runner-root-volume"
311311
- "/tmp/log_output:/tmp/test_logs"
@@ -370,7 +370,7 @@ jobs:
370370
if: github.actor != 'restyled-io[bot]'
371371

372372
container:
373-
image: ghcr.io/project-chip/chip-build:119
373+
image: ghcr.io/project-chip/chip-build:125
374374
volumes:
375375
- "/:/runner-root-volume"
376376
- "/tmp/log_output:/tmp/test_logs"
@@ -492,7 +492,7 @@ jobs:
492492
runs-on: ubuntu-latest
493493

494494
container:
495-
image: ghcr.io/project-chip/chip-build:119
495+
image: ghcr.io/project-chip/chip-build:125
496496
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
497497
net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
498498

.github/workflows/chef.yaml

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2021 Project CHIP Authors
1+
# Copyright (c) 2021-2025 Project CHIP Authors
22
#
33
# Licensed under the Apache License, Version 2.0 (the "License");
44
# you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ jobs:
3636
if: github.actor != 'restyled-io[bot]'
3737

3838
container:
39-
image: ghcr.io/project-chip/chip-build:119
39+
image: ghcr.io/project-chip/chip-build:125
4040
options: --user root
4141

4242
steps:
@@ -79,7 +79,7 @@ jobs:
7979
if: github.actor != 'restyled-io[bot]'
8080

8181
container:
82-
image: ghcr.io/project-chip/chip-build-esp32:119
82+
image: ghcr.io/project-chip/chip-build-esp32:125
8383
options: --user root
8484

8585
steps:
@@ -100,7 +100,7 @@ jobs:
100100
if: github.actor != 'restyled-io[bot]'
101101

102102
container:
103-
image: ghcr.io/project-chip/chip-build-nrf-platform:119
103+
image: ghcr.io/project-chip/chip-build-nrf-platform:125
104104
options: --user root
105105

106106
steps:
@@ -121,7 +121,7 @@ jobs:
121121
if: github.actor != 'restyled-io[bot]'
122122

123123
container:
124-
image: ghcr.io/project-chip/chip-build-telink:119
124+
image: ghcr.io/project-chip/chip-build-telink:125
125125
options: --user root
126126

127127
steps:
@@ -133,7 +133,7 @@ jobs:
133133
platform: telink
134134
# - name: Update Zephyr to specific revision (for developers purpose)
135135
# shell: bash
136-
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py fdccaba1ebc147908e9cca653e6c6743def3332b"
136+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 46b82695b9390d74bcfa4b01a14a009c01b96895"
137137
- name: CI Examples Telink
138138
shell: bash
139139
run: |

.github/workflows/doxygen.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484

8585
runs-on: ubuntu-latest
8686
container:
87-
image: ghcr.io/project-chip/chip-build-doxygen:119
87+
image: ghcr.io/project-chip/chip-build-doxygen:125
8888

8989
if: github.actor != 'restyled-io[bot]'
9090

.github/workflows/examples-ameba.yaml

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

4141
container:
42-
image: ghcr.io/project-chip/chip-build-ameba:119
42+
image: ghcr.io/project-chip/chip-build-ameba:125
4343
options: --user root
4444

4545
steps:

.github/workflows/examples-asr.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: ghcr.io/project-chip/chip-build-asr:119
40+
image: ghcr.io/project-chip/chip-build-asr:125
4141
options: --user root
4242

4343
steps:

.github/workflows/examples-bouffalolab.yaml

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

4040
container:
41-
image: ghcr.io/project-chip/chip-build-bouffalolab:119
41+
image: ghcr.io/project-chip/chip-build-bouffalolab:125
4242
volumes:
4343
- "/tmp/bloat_reports:/tmp/bloat_reports"
4444
steps:

.github/workflows/examples-cc13xx_26xx.yaml

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

4444
container:
45-
image: ghcr.io/project-chip/chip-build-ti:119
45+
image: ghcr.io/project-chip/chip-build-ti:125
4646
volumes:
4747
- "/tmp/bloat_reports:/tmp/bloat_reports"
4848
steps:

.github/workflows/examples-efr32.yaml

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

4343
container:
44-
image: ghcr.io/project-chip/chip-build-efr32:119
44+
image: ghcr.io/project-chip/chip-build-efr32:125
4545
volumes:
4646
- "/tmp/bloat_reports:/tmp/bloat_reports"
4747
steps:

.github/workflows/examples-esp32.yaml

+2-2
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: ghcr.io/project-chip/chip-build-esp32:119
40+
image: ghcr.io/project-chip/chip-build-esp32:125
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343

@@ -132,7 +132,7 @@ jobs:
132132
if: github.actor != 'restyled-io[bot]' && github.repository_owner == 'espressif'
133133

134134
container:
135-
image: ghcr.io/project-chip/chip-build-esp32:119
135+
image: ghcr.io/project-chip/chip-build-esp32:125
136136
volumes:
137137
- "/tmp/bloat_reports:/tmp/bloat_reports"
138138

.github/workflows/examples-infineon.yaml

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

4040
container:
41-
image: ghcr.io/project-chip/chip-build-infineon:119
41+
image: ghcr.io/project-chip/chip-build-infineon:125
4242
env:
4343
# TODO: this should probably be part of the dockerfile itself
4444
CY_TOOLS_PATHS: /opt/Tools/ModusToolbox/tools_3.2

.github/workflows/examples-linux-arm.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: ghcr.io/project-chip/chip-build-crosscompile:119
40+
image: ghcr.io/project-chip/chip-build-crosscompile:125
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343

.github/workflows/examples-linux-imx.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: ghcr.io/project-chip/chip-build-imx:119
40+
image: ghcr.io/project-chip/chip-build-imx:125
4141

4242
steps:
4343
- name: Checkout

.github/workflows/examples-linux-standalone.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: ghcr.io/project-chip/chip-build:119
40+
image: ghcr.io/project-chip/chip-build:125
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343

.github/workflows/examples-linux-tv-casting-app.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: ghcr.io/project-chip/chip-build:119
40+
image: ghcr.io/project-chip/chip-build:125
4141

4242
steps:
4343
- name: Checkout

.github/workflows/examples-mw320.yaml

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

4242
container:
43-
image: ghcr.io/project-chip/chip-build:119
43+
image: ghcr.io/project-chip/chip-build:125
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646
steps:

.github/workflows/examples-nrfconnect.yaml

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

4242
container:
43-
image: ghcr.io/project-chip/chip-build-nrf-platform:119
43+
image: ghcr.io/project-chip/chip-build-nrf-platform:125
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646

.github/workflows/examples-nuttx.yaml

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

4040
container:
41-
image: ghcr.io/project-chip/chip-build-nuttx:119
41+
image: ghcr.io/project-chip/chip-build-nuttx:125
4242
volumes:
4343
- "/tmp/bloat_reports:/tmp/bloat_reports"
4444
steps:

.github/workflows/examples-nxp.yaml

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

4242
container:
43-
image: ghcr.io/project-chip/chip-build-nxp:124
43+
image: ghcr.io/project-chip/chip-build-nxp:125
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646
steps:
@@ -239,7 +239,7 @@ jobs:
239239
if: github.actor != 'restyled-io[bot]'
240240

241241
container:
242-
image: ghcr.io/project-chip/chip-build-nxp-zephyr:119
242+
image: ghcr.io/project-chip/chip-build-nxp-zephyr:125
243243

244244
steps:
245245
- name: Checkout

.github/workflows/examples-openiotsdk.yaml

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

3838
container:
39-
image: ghcr.io/project-chip/chip-build-openiotsdk:119
39+
image: ghcr.io/project-chip/chip-build-openiotsdk:125
4040
volumes:
4141
- "/tmp/bloat_reports:/tmp/bloat_reports"
4242
options: --privileged

.github/workflows/examples-qpg.yaml

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

4242
container:
43-
image: ghcr.io/project-chip/chip-build:119
43+
image: ghcr.io/project-chip/chip-build:125
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646
steps:

.github/workflows/examples-stm32.yaml

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

4343
container:
44-
image: ghcr.io/project-chip/chip-build:119
44+
image: ghcr.io/project-chip/chip-build:125
4545
volumes:
4646
- "/tmp/bloat_reports:/tmp/bloat_reports"
4747
steps:

0 commit comments

Comments
 (0)