Skip to content

Commit 4f956ec

Browse files
[Telink] Improve tl321x/tl721x targets & Update compatible builds to docker version 104 (#37188)
* riscv: telink: add compile support for tl7218x . - fix retention ram. Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com> * 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] Add missed clean out build output step * [Telink] remove b95 SoC / TLSR9258a board (replaced by TL721x) * [Telink] Update builds to docker version 104 * [Telink] disable debug part * skip update of QEMU / Tizen * skip update of Tizen & Smoke Run - Android * skip update of Lint Code Base image --------- Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com> Co-authored-by: Haiwen Xia <haiwen.xia@telink-semi.com> Co-authored-by: haiwentelink <125550736+haiwentelink@users.noreply.github.com>
1 parent 3044eeb commit 4f956ec

File tree

67 files changed

+121
-175
lines changed

Some content is hidden

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

67 files changed

+121
-175
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:98
37+
image: ghcr.io/project-chip/chip-build:104
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:98
46+
image: ghcr.io/project-chip/chip-build:104
4747
volumes:
4848
- "/:/runner-root-volume"
4949
- "/tmp/log_output:/tmp/test_logs"
@@ -139,7 +139,7 @@ jobs:
139139
if: github.actor != 'restyled-io[bot]'
140140

141141
container:
142-
image: ghcr.io/project-chip/chip-build:98
142+
image: ghcr.io/project-chip/chip-build:104
143143
volumes:
144144
- "/:/runner-root-volume"
145145
- "/tmp/log_output:/tmp/test_logs"
@@ -308,7 +308,7 @@ jobs:
308308
if: github.actor != 'restyled-io[bot]'
309309

310310
container:
311-
image: ghcr.io/project-chip/chip-build:98
311+
image: ghcr.io/project-chip/chip-build:104
312312
volumes:
313313
- "/:/runner-root-volume"
314314
- "/tmp/log_output:/tmp/test_logs"
@@ -373,7 +373,7 @@ jobs:
373373
if: github.actor != 'restyled-io[bot]'
374374

375375
container:
376-
image: ghcr.io/project-chip/chip-build:98
376+
image: ghcr.io/project-chip/chip-build:104
377377
volumes:
378378
- "/:/runner-root-volume"
379379
- "/tmp/log_output:/tmp/test_logs"
@@ -492,7 +492,7 @@ jobs:
492492
if: github.actor != 'restyled-io[bot]'
493493

494494
container:
495-
image: ghcr.io/project-chip/chip-build:98
495+
image: ghcr.io/project-chip/chip-build:104
496496
volumes:
497497
- "/:/runner-root-volume"
498498
- "/tmp/log_output:/tmp/test_logs"

.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:98
39+
image: ghcr.io/project-chip/chip-build:104
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:98
60+
image: ghcr.io/project-chip/chip-build-esp32:104
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:98
81+
image: ghcr.io/project-chip/chip-build-nrf-platform:104
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:98
102+
image: ghcr.io/project-chip/chip-build-telink:104
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 c05c461b1119782cc839cf436fa04ec5e1fb2c8c"
114+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 52c23bb5bfa7b08fb2499fda8c34cbd3418e0c1d"
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:98
87+
image: ghcr.io/project-chip/chip-build-doxygen:104
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:98
42+
image: ghcr.io/project-chip/chip-build-ameba:104
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:98
40+
image: ghcr.io/project-chip/chip-build-asr:104
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:98
41+
image: ghcr.io/project-chip/chip-build-bouffalolab:104
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:98
45+
image: ghcr.io/project-chip/chip-build-ti:104
4646
volumes:
4747
- "/tmp/bloat_reports:/tmp/bloat_reports"
4848
steps:

.github/workflows/examples-cc32xx.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-ti:98
44+
image: ghcr.io/project-chip/chip-build-ti:104
4545
volumes:
4646
- "/tmp/bloat_reports:/tmp/bloat_reports"
4747
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:98
44+
image: ghcr.io/project-chip/chip-build-efr32:104
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:98
40+
image: ghcr.io/project-chip/chip-build-esp32:104
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:98
135+
image: ghcr.io/project-chip/chip-build-esp32:104
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:98
41+
image: ghcr.io/project-chip/chip-build-infineon:104
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:98
40+
image: ghcr.io/project-chip/chip-build-crosscompile:104
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:98
40+
image: ghcr.io/project-chip/chip-build-imx:104
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:98
40+
image: ghcr.io/project-chip/chip-build:104
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:98
40+
image: ghcr.io/project-chip/chip-build:104
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:98
43+
image: ghcr.io/project-chip/chip-build:104
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:98
43+
image: ghcr.io/project-chip/chip-build-nrf-platform:104
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:98
41+
image: ghcr.io/project-chip/chip-build-nuttx:104
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:98
43+
image: ghcr.io/project-chip/chip-build-nxp:104
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:98
242+
image: ghcr.io/project-chip/chip-build-nxp-zephyr:104
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:98
39+
image: ghcr.io/project-chip/chip-build-openiotsdk:104
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:98
43+
image: ghcr.io/project-chip/chip-build:104
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:98
44+
image: ghcr.io/project-chip/chip-build:104
4545
volumes:
4646
- "/tmp/bloat_reports:/tmp/bloat_reports"
4747
steps:

.github/workflows/examples-telink.yaml

+27-14
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:98
42+
image: ghcr.io/project-chip/chip-build-telink:104
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 c05c461b1119782cc839cf436fa04ec5e1fb2c8c"
61+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 52c23bb5bfa7b08fb2499fda8c34cbd3418e0c1d"
6262

6363
- name: Build example Telink (B92 retention) Air Quality Sensor App
6464
# Run test for master and s07641069 PRs
@@ -103,14 +103,14 @@ jobs:
103103
- name: clean out build output
104104
run: rm -rf ./out
105105

106-
- name: Build example Telink (B95) Bridge App
106+
- name: Build example Telink (tl721x) Bridge App
107107
# Run test for master and all PRs
108108
run: |
109109
./scripts/run_in_build_env.sh \
110-
"./scripts/build/build_examples.py --target 'telink-tlsr9258a-bridge' build"
110+
"./scripts/build/build_examples.py --target 'telink-tl7218x-bridge' build"
111111
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
112-
telink tlsr9258a bridge-app \
113-
out/telink-tlsr9258a-bridge/zephyr/zephyr.elf \
112+
telink tl7218x bridge-app \
113+
out/telink-tl7218x-bridge/zephyr/zephyr.elf \
114114
/tmp/bloat_reports/
115115
116116
- name: clean out build output
@@ -167,14 +167,14 @@ jobs:
167167
- name: clean out build output (keep tools)
168168
run: rm -rf ./out/telink*
169169

170-
- name: Build example Telink (tl321x) Lighting App with OTA (LZMA), Shell, Factory Data
170+
- name: Build example Telink (tl321x) Lighting App with OTA, Shell, Factory Data
171171
# Run test for master and all PRs
172172
run: |
173173
./scripts/run_in_build_env.sh \
174-
"./scripts/build/build_examples.py --target 'telink-tl3218x-light-ota-compress-lzma-shell-factory-data' build"
174+
"./scripts/build/build_examples.py --target 'telink-tl3218x-light-ota-shell-factory-data' build"
175175
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
176-
telink tl3218x light-app-ota-compress-lzma-shell-factory-data \
177-
out/telink-tl3218x-light-ota-compress-lzma-shell-factory-data/zephyr/zephyr.elf \
176+
telink tl3218x light-app-ota-shell-factory-data \
177+
out/telink-tl3218x-light-ota-shell-factory-data/zephyr/zephyr.elf \
178178
/tmp/bloat_reports/
179179
180180
- name: clean out build output (keep tools)
@@ -193,6 +193,19 @@ jobs:
193193
- name: clean out build output (keep tools)
194194
run: rm -rf ./out/telink*
195195

196+
- name: Build example Telink (tl721x retention) Light Switch App with OTA (LZMA), Factory Data
197+
# Run test for master and all PRs
198+
run: |
199+
./scripts/run_in_build_env.sh \
200+
"./scripts/build/build_examples.py --target 'telink-tl7218x_retention-light-switch-ota-compress-lzma-factory-data' build"
201+
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
202+
telink tl7218x_retention light-switch-app-ota-compress-lzma-factory-data \
203+
out/telink-tl7218x_retention-light-switch-ota-compress-lzma-factory-data/zephyr/zephyr.elf \
204+
/tmp/bloat_reports/
205+
206+
- name: clean out build output (keep tools)
207+
run: rm -rf ./out/telink*
208+
196209
- name: Build example Telink (B92) Light Switch App with OTA (LZMA), Shell, Factory Data
197210
# Run test for master and all PRs
198211
run: |
@@ -220,15 +233,15 @@ jobs:
220233
- name: clean out build output
221234
run: rm -rf ./out
222235

223-
- name: Build example Telink (B95) OTA Requestor App
236+
- name: Build example Telink (tl321x) OTA Requestor App
224237
# Run test for master and s07641069 PRs
225238
if: github.event.pull_request.number == null || github.event.pull_request.head.repo.full_name == 's07641069/connectedhomeip'
226239
run: |
227240
./scripts/run_in_build_env.sh \
228-
"./scripts/build/build_examples.py --target 'telink-tlsr9258a-ota-requestor' build"
241+
"./scripts/build/build_examples.py --target 'telink-tl3218x-ota-requestor' build"
229242
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
230-
telink tlsr9258a ota-requestor-app \
231-
out/telink-tlsr9258a-ota-requestor/zephyr/zephyr.elf \
243+
telink tl3218x ota-requestor-app \
244+
out/telink-tl3218x-ota-requestor/zephyr/zephyr.elf \
232245
/tmp/bloat_reports/
233246
234247
- name: clean out build output

0 commit comments

Comments
 (0)