Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1789,3 +1789,12 @@ zigbeealliance
zigbeethread
zsdk
ZXing
bdk
Changelog
changelog
devicetree
DLM
downloaders
ILM
tlk
udev
38 changes: 26 additions & 12 deletions .github/workflows/examples-telink.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,9 @@ jobs:
with:
gh-context: ${{ toJson(github) }}

# - name: Update Zephyr version 4.1.0 (develop) to specific revision (for developers purpose)
# run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 1f4804a19fe7ba792bfc315948043d5515e74cd2"
- name: Update Zephyr version 4.1.0 (develop) to specific revision (for developers purpose)
run:
scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py https://github.com/telink-semi/zephyr.git d3a2a90f44f5e85868e91ff577636e02460c574b --sdk-repo https://github.com/telink-semi/tl_ble_sdk_zephyr.git --sdk-hash 2488b5b8bd5122f68d087ba2cd5a8f0c74572b8f"

- name: Download Factory Data tools
uses: actions/download-artifact@v8
Expand Down Expand Up @@ -258,28 +259,41 @@ jobs:
- name: clean out build output (keep tools)
run: rm -rf ./out/telink*

- name: Build example Telink (tl721x) Lighting App with OTA (LZMA), Shell, Factory Data
- name: Build example Telink (tl521x) Lighting App with Factory Data, 4Mb flash
# Run test for master and all PRs
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target 'telink-tl7218x-light-ota-compress-lzma-shell-factory-data' build"
"./scripts/build/build_examples.py --target 'telink-tl5218x-light-ota-factory-data-4mb' build"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
telink tl7218x light-app-ota-compress-lzma-shell-factory-data \
out/telink-tl7218x-light-ota-compress-lzma-shell-factory-data/zephyr/zephyr.elf \
telink tl5218x light-app-ota-factory-data-4mb \
out/telink-tl5218x-light-ota-factory-data-4mb/zephyr/zephyr.elf \
/tmp/bloat_reports/

- name: clean out build output (keep tools)
run: rm -rf ./out/telink*

- name: Build example Telink (tl721x) Lighting App with TFLM
# Run test for master and s07641069 PRs
if: github.event.pull_request.number == null || github.event.pull_request.head.repo.full_name == 's07641069/connectedhomeip'
# TODO: tl521x_retention light switch app can build but may not run normally, need further porting.
- name: Build example Telink (tl521x_retention) Light Switch App with OTA, Factory Data
# Run test for master and all PRs
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target 'telink-tl7218x-light-tflm' build"
"./scripts/build/build_examples.py --target 'telink-tl5218x_retention-light-switch-ota-compress-lzma-factory-data' build"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
telink tl5218x_retention light-switch-app-ota-compress-lzma-factory-data \
out/telink-tl5218x_retention-light-switch-ota-compress-lzma-factory-data/zephyr/zephyr.elf \
/tmp/bloat_reports/

- name: clean out build output (keep tools)
run: rm -rf ./out/telink*

- name: Build example Telink (tl721x) Lighting App with OTA (LZMA), Shell, Factory Data
# Run test for master and all PRs
run: |
./scripts/run_in_build_env.sh \
"./scripts/build/build_examples.py --target 'telink-tl7218x-light-ota-compress-lzma-shell-factory-data' build"
.environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
telink tl7218x light-app-tflm \
out/telink-tl7218x-light-tflm/zephyr/zephyr.elf \
telink tl7218x light-app-ota-compress-lzma-shell-factory-data \
out/telink-tl7218x-light-ota-compress-lzma-shell-factory-data/zephyr/zephyr.elf \
/tmp/bloat_reports/

- name: clean out build output (keep tools)
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,9 @@ imgui.ini

# Joint Fabric test harness output file
admin_storage.json

# ignore build output directories
build-*
build_*
factory_data*
*.patch
Loading
Loading