Skip to content

Commit 4706bd2

Browse files
[Telink] Disable targets with memory overflow
1 parent 440c832 commit 4706bd2

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

.github/workflows/examples-telink.yaml

Lines changed: 26 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -181,44 +181,47 @@ jobs:
181181
#- name: clean out build output (keep tools)
182182
# run: rm -rf ./out/telink*
183183

184-
- name: Build example Telink (tl721x) Lighting App with OTA, Shell, Factory Data
184+
# Disabled due to error section `rodata' will not fit in region `ROM' (`ROM' overflowed by 39656 bytes)
185+
#- name: Build example Telink (tl721x) Lighting App with OTA, Shell, Factory Data
185186
# Run test for master and all PRs
186-
run: |
187-
./scripts/run_in_build_env.sh \
188-
"./scripts/build/build_examples.py --target 'telink-tl7218x-light-ota-shell-factory-data' build"
189-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
190-
telink tl7218x light-app-ota-shell-factory-data \
191-
out/telink-tl7218x-light-ota-shell-factory-data/zephyr/zephyr.elf \
192-
/tmp/bloat_reports/
187+
# run: |
188+
# ./scripts/run_in_build_env.sh \
189+
# "./scripts/build/build_examples.py --target 'telink-tl7218x-light-ota-shell-factory-data' build"
190+
# .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
191+
# telink tl7218x light-app-ota-shell-factory-data \
192+
# out/telink-tl7218x-light-ota-shell-factory-data/zephyr/zephyr.elf \
193+
# /tmp/bloat_reports/
193194

194-
- name: clean out build output (keep tools)
195-
run: rm -rf ./out/telink*
195+
#- name: clean out build output (keep tools)
196+
# run: rm -rf ./out/telink*
196197

198+
# Removed compress-lzma due to error boot_partition overflows
197199
- name: Build example Telink (tl721x retention) Light Switch App with OTA (LZMA), Factory Data
198200
# Run test for master and all PRs
199201
run: |
200202
./scripts/run_in_build_env.sh \
201-
"./scripts/build/build_examples.py --target 'telink-tl7218x_retention-light-switch-ota-compress-lzma-factory-data' build"
203+
"./scripts/build/build_examples.py --target 'telink-tl7218x_retention-light-switch-ota-factory-data' build"
202204
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
203-
telink tl7218x_retention light-switch-app-ota-compress-lzma-factory-data \
204-
out/telink-tl7218x_retention-light-switch-ota-compress-lzma-factory-data/zephyr/zephyr.elf \
205+
telink tl7218x_retention light-switch-app-ota-factory-data \
206+
out/telink-tl7218x_retention-light-switch-ota-factory-data/zephyr/zephyr.elf \
205207
/tmp/bloat_reports/
206208
207209
- name: clean out build output (keep tools)
208210
run: rm -rf ./out/telink*
209211

210-
- name: Build example Telink (B92) Light Switch App with OTA (LZMA), Shell, Factory Data
212+
# Commented due to boot_partition overflows and ROM overflow without compress-lzma
213+
#- name: Build example Telink (B92) Light Switch App with OTA (LZMA), Shell, Factory Data
211214
# Run test for master and all PRs
212-
run: |
213-
./scripts/run_in_build_env.sh \
214-
"./scripts/build/build_examples.py --target 'telink-tlsr9528a-light-switch-ota-compress-lzma-shell-factory-data' build"
215-
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
216-
telink tlsr9528a light-switch-app-ota-compress-lzma-shell-factory-data \
217-
out/telink-tlsr9528a-light-switch-ota-compress-lzma-shell-factory-data/zephyr/zephyr.elf \
218-
/tmp/bloat_reports/
215+
# run: |
216+
# ./scripts/run_in_build_env.sh \
217+
# "./scripts/build/build_examples.py --target 'telink-tlsr9528a-light-switch-ota-compress-lzma-shell-factory-data' build"
218+
# .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
219+
# telink tlsr9528a light-switch-app-ota-compress-lzma-shell-factory-data \
220+
# out/telink-tlsr9528a-light-switch-ota-compress-lzma-shell-factory-data/zephyr/zephyr.elf \
221+
# /tmp/bloat_reports/
219222

220-
- name: clean out build output
221-
run: rm -rf ./out
223+
#- name: clean out build output
224+
# run: rm -rf ./out
222225

223226
- name: Build example Telink (B92) Lock App with DFU
224227
# Run test for master and s07641069 PRs

0 commit comments

Comments
 (0)