Skip to content

Commit 2ded8fb

Browse files
s07641069charlie-aifengtai-telinkandy31415
authored
[Telink] Add tl3218x_retention target & fix LZMA issue & Update compatible builds to docker version 119 (#37805)
* telink: Test CI. (#383) riscv: telink: fix insufficient RAM when config LZMA - Update zephyr commit to efcd3b7 . - Ajust log level to DEBUG for tl3218x . - Add boards option tl3218x_retention Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com> Signed-off-by: Lingzhi Chen <lingzhi.chen@telink-semi.com> Co-authored-by: Fengtai Xie <fengtai.xie@telink-semi.com> Co-authored-by: Alex Tsitsiura <s07641069@gmail.com> * [Telink] Update Zephyr hash for CI test * Update builds to docker version 118 * [Telink] comment debug part * Revert TI CC32XX image * Fix extra spacing in smoke-test.yaml * Update builds to docker version 119 --------- Signed-off-by: Fengtai Xie <fengtai.xie@telink-semi.com> Signed-off-by: Lingzhi Chen <lingzhi.chen@telink-semi.com> Co-authored-by: lingzhi chen <58249610+charlie-ai@users.noreply.github.com> Co-authored-by: Fengtai Xie <fengtai.xie@telink-semi.com> Co-authored-by: Andrei Litvin <andy314@gmail.com>
1 parent 67bedcd commit 2ded8fb

Some content is hidden

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

52 files changed

+95
-82
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:115
37+
image: ghcr.io/project-chip/chip-build:119
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:115
46+
image: ghcr.io/project-chip/chip-build:119
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:115
134+
image: ghcr.io/project-chip/chip-build:119
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:115
308+
image: ghcr.io/project-chip/chip-build:119
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:115
373+
image: ghcr.io/project-chip/chip-build:119
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:115
495+
image: ghcr.io/project-chip/chip-build:119
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

+5-5
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:115
39+
image: ghcr.io/project-chip/chip-build:119
4040
options: --user root
4141

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

5959
container:
60-
image: ghcr.io/project-chip/chip-build-esp32:115
60+
image: ghcr.io/project-chip/chip-build-esp32:119
6161
options: --user root
6262

6363
steps:
@@ -78,7 +78,7 @@ jobs:
7878
if: github.actor != 'restyled-io[bot]'
7979

8080
container:
81-
image: ghcr.io/project-chip/chip-build-nrf-platform:115
81+
image: ghcr.io/project-chip/chip-build-nrf-platform:119
8282
options: --user root
8383

8484
steps:
@@ -99,7 +99,7 @@ jobs:
9999
if: github.actor != 'restyled-io[bot]'
100100

101101
container:
102-
image: ghcr.io/project-chip/chip-build-telink:115
102+
image: ghcr.io/project-chip/chip-build-telink:119
103103
options: --user root
104104

105105
steps:
@@ -111,7 +111,7 @@ jobs:
111111
platform: telink
112112
# - name: Update Zephyr to specific revision (for developers purpose)
113113
# shell: bash
114-
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ce4027fc0768b8509758af2e43f74e3fd2c7d58d"
114+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py fdccaba1ebc147908e9cca653e6c6743def3332b"
115115
- name: CI Examples Telink
116116
shell: bash
117117
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:115
87+
image: ghcr.io/project-chip/chip-build-doxygen:119
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:115
42+
image: ghcr.io/project-chip/chip-build-ameba:119
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:115
40+
image: ghcr.io/project-chip/chip-build-asr:119
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:115
41+
image: ghcr.io/project-chip/chip-build-bouffalolab:119
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:115
45+
image: ghcr.io/project-chip/chip-build-ti:119
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:115
44+
image: ghcr.io/project-chip/chip-build-efr32:119
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:115
40+
image: ghcr.io/project-chip/chip-build-esp32:119
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:115
135+
image: ghcr.io/project-chip/chip-build-esp32:119
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:115
41+
image: ghcr.io/project-chip/chip-build-infineon:119
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:115
40+
image: ghcr.io/project-chip/chip-build-crosscompile:119
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:115
40+
image: ghcr.io/project-chip/chip-build-imx:119
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:115
40+
image: ghcr.io/project-chip/chip-build:119
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:115
40+
image: ghcr.io/project-chip/chip-build:119
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:115
43+
image: ghcr.io/project-chip/chip-build:119
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:115
43+
image: ghcr.io/project-chip/chip-build-nrf-platform:119
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:115
41+
image: ghcr.io/project-chip/chip-build-nuttx:119
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:115
43+
image: ghcr.io/project-chip/chip-build-nxp:119
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:115
242+
image: ghcr.io/project-chip/chip-build-nxp-zephyr:119
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:115
39+
image: ghcr.io/project-chip/chip-build-openiotsdk:119
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:115
43+
image: ghcr.io/project-chip/chip-build:119
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:115
44+
image: ghcr.io/project-chip/chip-build:119
4545
volumes:
4646
- "/tmp/bloat_reports:/tmp/bloat_reports"
4747
steps:

.github/workflows/examples-telink.yaml

+16-6
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-telink:115
42+
image: ghcr.io/project-chip/chip-build-telink:119
4343
volumes:
4444
- "/tmp/bloat_reports:/tmp/bloat_reports"
4545

@@ -58,7 +58,7 @@ jobs:
5858
gh-context: ${{ toJson(github) }}
5959

6060
# - name: Update Zephyr to specific revision (for developers purpose)
61-
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ce4027fc0768b8509758af2e43f74e3fd2c7d58d"
61+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py fdccaba1ebc147908e9cca653e6c6743def3332b"
6262

6363
- name: Build example Telink (B92 retention) Air Quality Sensor App
6464
# Run test for master and s07641069 PRs
@@ -165,14 +165,24 @@ jobs:
165165
- name: clean out build output (keep tools)
166166
run: rm -rf ./out/telink*
167167

168-
- name: Build example Telink (tl321x) Lighting App with OTA, Shell, Factory Data
168+
- name: Build example Telink (tl321x) Lighting App with OTA (LZMA), Shell, Factory Data
169169
# Run test for master and all PRs
170170
run: |
171171
./scripts/run_in_build_env.sh \
172-
"./scripts/build/build_examples.py --target 'telink-tl3218x-light-ota-shell-factory-data' build"
172+
"./scripts/build/build_examples.py --target 'telink-tl3218x-light-ota-compress-lzma-shell-factory-data' build"
173173
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
174-
telink tl3218x light-app-ota-shell-factory-data \
175-
out/telink-tl3218x-light-ota-shell-factory-data/zephyr/zephyr.elf \
174+
telink tl3218x light-app-ota-compress-lzma-shell-factory-data \
175+
out/telink-tl3218x-light-ota-compress-lzma-shell-factory-data/zephyr/zephyr.elf \
176+
/tmp/bloat_reports/
177+
178+
- name: Build example Telink (tl321x_retention) Light Switch App with OTA, Shell, Factory Data
179+
# Run test for master and all PRs
180+
run: |
181+
./scripts/run_in_build_env.sh \
182+
"./scripts/build/build_examples.py --target 'telink-tl3218x_retention-light-switch-ota-shell-factory-data' build"
183+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
184+
telink tl3218x_retention light-switch-app-ota-shell-factory-data \
185+
out/telink-tl3218x_retention-light-switch-ota-shell-factory-data/zephyr/zephyr.elf \
176186
/tmp/bloat_reports/
177187
178188
- name: clean out build output (keep tools)

.github/workflows/examples-tizen.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-tizen:115
40+
image: ghcr.io/project-chip/chip-build-tizen:119
4141
options: --user root
4242
volumes:
4343
- "/tmp/bloat_reports:/tmp/bloat_reports"

.github/workflows/full-android.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-android:115
42+
image: ghcr.io/project-chip/chip-build-android:119
4343
volumes:
4444
- "/tmp/log_output:/tmp/test_logs"
4545

.github/workflows/fuzzing-build.yaml

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

3535
container:
36-
image: ghcr.io/project-chip/chip-build:115
36+
image: ghcr.io/project-chip/chip-build:119
3737
volumes:
3838
- "/tmp/log_output:/tmp/test_logs"
3939

.github/workflows/java-tests.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444

4545
container:
46-
image: ghcr.io/project-chip/chip-build-java:115
46+
image: ghcr.io/project-chip/chip-build-java:119
4747
options: --privileged --sysctl "net.ipv6.conf.all.disable_ipv6=0
4848
net.ipv4.conf.all.forwarding=0 net.ipv6.conf.all.forwarding=0"
4949

.github/workflows/lint.yml

+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:115
39+
image: ghcr.io/project-chip/chip-build:119
4040

4141
steps:
4242
- name: Checkout

.github/workflows/minimal-build.yaml

+2-2
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-minimal:115
37+
image: ghcr.io/project-chip/chip-build-minimal:119
3838

3939
steps:
4040
- name: Checkout
@@ -56,7 +56,7 @@ jobs:
5656
runs-on: ubuntu-latest
5757

5858
container:
59-
image: ghcr.io/project-chip/chip-build-minimal:115
59+
image: ghcr.io/project-chip/chip-build-minimal:119
6060

6161
steps:
6262
- name: Checkout

0 commit comments

Comments
 (0)