Skip to content

Commit a6799db

Browse files
committed
[Telink] Manual Zephyr SDK update to check CI jobs
1 parent 4f956ec commit a6799db

File tree

5 files changed

+33
-9
lines changed

5 files changed

+33
-9
lines changed

.github/workflows/chef.yaml

+11
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ concurrency:
2828

2929
env:
3030
CHIP_NO_LOG_TIMESTAMPS: true
31+
# Required to Update Zephyr SDK (for developers purpose)
32+
TELINK_ZEPHYR_SDK_DIR: /opt/telink/zephyr-sdk-0.17.0
3133

3234
jobs:
3335
chef_linux:
@@ -105,6 +107,15 @@ jobs:
105107
steps:
106108
- name: Checkout
107109
uses: actions/checkout@v4
110+
- name: Update Zephyr SDK (for developers purpose)
111+
run: |
112+
set -e
113+
cd /opt/telink
114+
rm -rf zephyr-sdk-0.16.1
115+
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
116+
tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
117+
rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
118+
zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
108119
- name: Checkout submodules & Bootstrap
109120
uses: ./.github/actions/checkout-submodules-and-bootstrap
110121
with:

.github/workflows/examples-telink.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ concurrency:
2828

2929
env:
3030
CHIP_NO_LOG_TIMESTAMPS: true
31+
# Required to Update Zephyr SDK (for developers purpose)
32+
TELINK_ZEPHYR_SDK_DIR: /opt/telink/zephyr-sdk-0.17.0
3133

3234
jobs:
3335
telink:
@@ -46,6 +48,17 @@ jobs:
4648
steps:
4749
- name: Checkout
4850
uses: actions/checkout@v4
51+
52+
- name: Update Zephyr SDK (for developers purpose)
53+
run: |
54+
set -e
55+
cd /opt/telink
56+
rm -rf zephyr-sdk-0.16.1
57+
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
58+
tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
59+
rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz
60+
zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf
61+
4962
- name: Checkout submodules & Bootstrap
5063
uses: ./.github/actions/checkout-submodules-and-bootstrap
5164
with:
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
104 : [Telink] Update Docker image (Zephyr update)
1+
105 : [Telink] Update Docker image (Zephyr SDK update)

integrations/docker/images/stage-2/chip-build-telink/Dockerfile

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ RUN set -x \
1111
# Setup toolchain
1212
WORKDIR /opt/telink
1313
RUN set -x \
14-
&& curl --location https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.16.1/zephyr-sdk-0.16.1_linux-x86_64_minimal.tar.xz --output zephyr-sdk-0.16.1_linux-x86_64_minimal.tar.xz \
15-
&& tar xvf zephyr-sdk-0.16.1_linux-x86_64_minimal.tar.xz \
16-
&& rm -rf zephyr-sdk-0.16.1_linux-x86_64_minimal.tar.xz \
17-
&& zephyr-sdk-0.16.1/setup.sh -t riscv64-zephyr-elf \
14+
&& 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 \
15+
&& tar xvf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
16+
&& rm -rf zephyr-sdk-0.17.0_linux-x86_64_minimal.tar.xz \
17+
&& zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf \
1818
&& : # last line
1919

2020
# Setup Zephyr
@@ -34,7 +34,7 @@ RUN set -x \
3434

3535
FROM ghcr.io/project-chip/chip-build:${VERSION}
3636

37-
COPY --from=build /opt/telink/zephyr-sdk-0.16.1/ /opt/telink/zephyr-sdk-0.16.1/
37+
COPY --from=build /opt/telink/zephyr-sdk-0.17.0/ /opt/telink/zephyr-sdk-0.17.0/
3838
COPY --from=build /opt/telink/zephyrproject/ /opt/telink/zephyrproject/
3939

4040
RUN set -x \
@@ -45,4 +45,4 @@ RUN set -x \
4545
&& : # last line
4646

4747
ENV TELINK_ZEPHYR_BASE=/opt/telink/zephyrproject/zephyr
48-
ENV TELINK_ZEPHYR_SDK_DIR=/opt/telink/zephyr-sdk-0.16.1
48+
ENV TELINK_ZEPHYR_SDK_DIR=/opt/telink/zephyr-sdk-0.17.0

integrations/docker/images/vscode/chip-build-vscode/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ COPY --from=android /usr/lib/kotlinc /usr/lib/kotlinc
3838
COPY --from=psoc6 /opt/Tools/ModusToolbox /opt/Tools/ModusToolbox
3939

4040
COPY --from=telink /opt/telink/zephyrproject /opt/telink/zephyrproject
41-
COPY --from=telink /opt/telink/zephyr-sdk-0.16.1 /opt/telink/zephyr-sdk-0.16.1
41+
COPY --from=telink /opt/telink/zephyr-sdk-0.17.0 /opt/telink/zephyr-sdk-0.17.0
4242

4343
COPY --from=tizen /opt/tizen-sdk /opt/tizen-sdk
4444

@@ -126,7 +126,7 @@ ENV QEMU_ESP32=/opt/espressif/qemu/qemu-system-xtensa
126126
ENV QEMU_ESP32_DIR=/opt/espressif/qemu
127127
ENV SYSROOT_AARCH64=/opt/ubuntu-24.04-aarch64-sysroot
128128
ENV TELINK_ZEPHYR_BASE=/opt/telink/zephyrproject/zephyr
129-
ENV TELINK_ZEPHYR_SDK_DIR=/opt/telink/zephyr-sdk-0.16.1
129+
ENV TELINK_ZEPHYR_SDK_DIR=/opt/telink/zephyr-sdk-0.17.0
130130
ENV TI_SYSCONFIG_ROOT=/opt/ti/sysconfig_1.18.1
131131
ENV ZEPHYR_BASE=/opt/NordicSemiconductor/nrfconnect/zephyr
132132
ENV ZEPHYR_SDK_INSTALL_DIR=/opt/NordicSemiconductor/nRF5_tools/zephyr-sdk-0.17.0

0 commit comments

Comments
 (0)