Skip to content

Commit 4bd8e03

Browse files
committed
[Telink] Update Zephyr revision & SDK
1 parent 368924c commit 4bd8e03

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

.github/workflows/chef.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ jobs:
112112
platform: telink
113113
- name: Update Zephyr to specific revision (for developers purpose)
114114
shell: bash
115-
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 46ac12b997d6f1ced2c5cc86a7e21d880d4b114e"
115+
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ed365fdadcf380a0b2e543a7d4ba88ed4f227466"
116116
- name: CI Examples Telink
117117
shell: bash
118118
run: |

.github/workflows/examples-telink.yaml

+21-10
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ concurrency:
2929

3030
env:
3131
CHIP_NO_LOG_TIMESTAMPS: true
32+
TELINK_ZEPHYR_SDK_DIR: /opt/telink/zephyr-sdk-0.17.0
33+
# ZEPHYR_SDK_INSTALL_DIR: /opt/telink/zephyr-sdk-0.17.0
3234

3335
jobs:
3436
telink:
@@ -47,6 +49,20 @@ jobs:
4749
steps:
4850
- name: Checkout
4951
uses: actions/checkout@v4
52+
53+
- name: Update Zephyr SDK (for developers purpose)
54+
run: |
55+
set -e
56+
cd /opt/telink
57+
rm -rf zephyr-sdk-0.16.1
58+
curl --location https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.0/zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz --output zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
59+
tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
60+
rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
61+
zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
62+
# export TELINK_ZEPHYR_SDK_DIR=/opt/telink/zephyr-sdk-0.17.0
63+
# export ZEPHYR_SDK_INSTALL_DIR=$TELINK_ZEPHYR_SDK_DIR
64+
# echo "Zephyr SDK updated to $ZEPHYR_SDK_INSTALL_DIR"
65+
5066
- name: Checkout submodules & Bootstrap
5167
uses: ./.github/actions/checkout-submodules-and-bootstrap
5268
with:
@@ -58,17 +74,12 @@ jobs:
5874
with:
5975
gh-context: ${{ toJson(github) }}
6076

61-
- name: Update Zephyr SDK (Temporary change for debugging purpose)
62-
run: |
63-
cd /opt/telink \
64-
rm -rf zephyr-sdk-0.16.1 \
65-
curl --location https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.17.0/zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz --output zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
66-
tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
67-
rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
68-
zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
69-
7077
- name: Update Zephyr to specific revision (for developers purpose)
71-
run: scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py 46ac12b997d6f1ced2c5cc86a7e21d880d4b114e"
78+
run: |
79+
echo $TELINK_ZEPHYR_SDK_DIR
80+
echo $ZEPHYR_SDK_INSTALL_DIR
81+
ls -la /opt/telink
82+
scripts/run_in_build_env.sh "python3 scripts/tools/telink/update_zephyr.py ed365fdadcf380a0b2e543a7d4ba88ed4f227466"
7283
7384
- name: Build example Telink (B92 retention) Air Quality Sensor App
7485
# Run test for master and s07641069 PRs

0 commit comments

Comments
 (0)