Skip to content

Commit 8fe4596

Browse files
s07641069haiwentelinkjinmiaoyurestyled-commitsdamien0x0023
authored
[Telink] Add tl3218x board support & Update builds to docker version 92 (project-chip#36409)
* [Telink] Add TL3218X sceleton * [Telink] Disable temporarry BLE * [Telink] save ram by change config & revert add retention board * riscv: telink:tl3218x: clean code and fix CI. - fix CI error. - clean code and improve settings. - delete retention setting for TL321X. Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com> * [Telink] Revert add retention board --------- Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com> Co-authored-by: Alex Tsitsiura <s07641069@gmail.com> * riscv: telink:tl3218x: add ble optimize. - add optimize for ble. - low down the ramcost. - revert nvs cache to pass certify. Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com> * [Telink] Add LZMA compression support for TL321x platform Signed-off-by: Jinmiao Yu <jinmiao.yu@telink-semi.com> * [Telink] Use LZMA by default for tl321x * [Telink] CI build tests * Restyled by clang-format * [Telink] Update Config B9X_BLE_ to TL_BLE_ Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com> * [Telink] update zephyr revision for CI build tests Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com> * [Telink] update zephyr revision for CI build tests Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com> * [Telink] Cleanup overlays * [Telink] update zephyr revision for CI build tests Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com> * [Telink] Increase ISR and CHIP stack sizes to avoid 90%+ usage * [Telink] Update builds to docker version 92 --------- Signed-off-by: Haiwen Xia <haiwen.xia@telink-semi.com> Signed-off-by: Jinmiao Yu <jinmiao.yu@telink-semi.com> Signed-off-by: Damien Ji <yinghao.ji@telink-semi.com> Co-authored-by: haiwentelink <125550736+haiwentelink@users.noreply.github.com> Co-authored-by: Haiwen Xia <haiwen.xia@telink-semi.com> Co-authored-by: Jinmiao Yu <jinmiao.yu@telink-semi.com> Co-authored-by: Restyled.io <commits@restyled.io> Co-authored-by: Damien Ji <yinghao.ji@telink-semi.com>
1 parent d8ededa commit 8fe4596

Some content is hidden

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

61 files changed

+288
-105
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:90
37+
image: ghcr.io/project-chip/chip-build:92
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:90
46+
image: ghcr.io/project-chip/chip-build:92
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:90
142+
image: ghcr.io/project-chip/chip-build:92
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:90
311+
image: ghcr.io/project-chip/chip-build:92
312312
volumes:
313313
- "/:/runner-root-volume"
314314
- "/tmp/log_output:/tmp/test_logs"
@@ -371,7 +371,7 @@ jobs:
371371
if: github.actor != 'restyled-io[bot]'
372372

373373
container:
374-
image: ghcr.io/project-chip/chip-build:90
374+
image: ghcr.io/project-chip/chip-build:92
375375
volumes:
376376
- "/:/runner-root-volume"
377377
- "/tmp/log_output:/tmp/test_logs"
@@ -490,7 +490,7 @@ jobs:
490490
if: github.actor != 'restyled-io[bot]'
491491

492492
container:
493-
image: ghcr.io/project-chip/chip-build:90
493+
image: ghcr.io/project-chip/chip-build:92
494494
volumes:
495495
- "/:/runner-root-volume"
496496
- "/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:90
39+
image: ghcr.io/project-chip/chip-build:92
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:90
60+
image: ghcr.io/project-chip/chip-build-esp32:92
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:90
81+
image: ghcr.io/project-chip/chip-build-nrf-platform:92
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:90
102+
image: ghcr.io/project-chip/chip-build-telink:92
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 f762f1a1027284e63e338e6d83deeade62f355b0"
114+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 9ab2325bf76bc7bec92a3ff93fad80ec5d3eae7c"
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:90
87+
image: ghcr.io/project-chip/chip-build-doxygen:92
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:90
42+
image: ghcr.io/project-chip/chip-build-ameba:92
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:90
40+
image: ghcr.io/project-chip/chip-build-asr:92
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:90
41+
image: ghcr.io/project-chip/chip-build-bouffalolab:92
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:90
45+
image: ghcr.io/project-chip/chip-build-ti:92
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:90
44+
image: ghcr.io/project-chip/chip-build-ti:92
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:90
44+
image: ghcr.io/project-chip/chip-build-efr32:92
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:90
40+
image: ghcr.io/project-chip/chip-build-esp32:92
4141
volumes:
4242
- "/tmp/bloat_reports:/tmp/bloat_reports"
4343

@@ -124,7 +124,7 @@ jobs:
124124
if: github.actor != 'restyled-io[bot]' && github.repository_owner == 'espressif'
125125

126126
container:
127-
image: ghcr.io/project-chip/chip-build-esp32:90
127+
image: ghcr.io/project-chip/chip-build-esp32:92
128128
volumes:
129129
- "/tmp/bloat_reports:/tmp/bloat_reports"
130130

.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:90
41+
image: ghcr.io/project-chip/chip-build-infineon:92
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:90
40+
image: ghcr.io/project-chip/chip-build-crosscompile:92
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:90
40+
image: ghcr.io/project-chip/chip-build-imx:92
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:90
40+
image: ghcr.io/project-chip/chip-build:92
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:90
40+
image: ghcr.io/project-chip/chip-build:92
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:90
43+
image: ghcr.io/project-chip/chip-build:92
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:90
43+
image: ghcr.io/project-chip/chip-build-nrf-platform:92
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:90
41+
image: ghcr.io/project-chip/chip-build-nuttx:92
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:90
43+
image: ghcr.io/project-chip/chip-build-nxp:92
4444
volumes:
4545
- "/tmp/bloat_reports:/tmp/bloat_reports"
4646
steps:
@@ -240,7 +240,7 @@ jobs:
240240
if: github.actor != 'restyled-io[bot]'
241241

242242
container:
243-
image: ghcr.io/project-chip/chip-build-nxp-zephyr:90
243+
image: ghcr.io/project-chip/chip-build-nxp-zephyr:92
244244

245245
steps:
246246
- 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:90
39+
image: ghcr.io/project-chip/chip-build-openiotsdk:92
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:90
43+
image: ghcr.io/project-chip/chip-build:92
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:90
44+
image: ghcr.io/project-chip/chip-build:92
4545
volumes:
4646
- "/tmp/bloat_reports:/tmp/bloat_reports"
4747
steps:

.github/workflows/examples-telink.yaml

+15-2
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:90
42+
image: ghcr.io/project-chip/chip-build-telink:92
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 f762f1a1027284e63e338e6d83deeade62f355b0"
61+
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 9ab2325bf76bc7bec92a3ff93fad80ec5d3eae7c"
6262

6363
- name: Build example Telink (B92 retention) Air Quality Sensor App
6464
# Run test for master and s07641069 PRs
@@ -167,6 +167,19 @@ 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
171+
# Run test for master and all PRs
172+
run: |
173+
./scripts/run_in_build_env.sh \
174+
"./scripts/build/build_examples.py --target 'telink-tl3218x-light-ota-compress-lzma-shell-factory-data' build"
175+
.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 \
178+
/tmp/bloat_reports/
179+
180+
- name: clean out build output (keep tools)
181+
run: rm -rf ./out/telink*
182+
170183
- name: Build example Telink (B92) Light Switch App with OTA (LZMA), Shell, Factory Data
171184
# Run test for master and all PRs
172185
run: |

.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:90
40+
image: ghcr.io/project-chip/chip-build-tizen:92
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:90
42+
image: ghcr.io/project-chip/chip-build-android:92
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:90
36+
image: ghcr.io/project-chip/chip-build:92
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:90
46+
image: ghcr.io/project-chip/chip-build-java:92
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:90
39+
image: ghcr.io/project-chip/chip-build:92
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:90
37+
image: ghcr.io/project-chip/chip-build-minimal:92
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:90
59+
image: ghcr.io/project-chip/chip-build-minimal:92
6060

6161
steps:
6262
- name: Checkout

0 commit comments

Comments
 (0)