@@ -11,13 +11,19 @@ RUN set -x \
11
11
12
12
# Setup toolchain
13
13
RUN set -x \
14
- && wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.13.2/zephyr-toolchain-riscv64-0.13.2-linux-x86_64-setup.run -O /tmp/zephyr-toolchain-riscv64-setup.run \
15
- && chmod +x /tmp/zephyr-toolchain-riscv64-setup.run \
16
- && /tmp/zephyr-toolchain-riscv64-setup.run -- -d /opt/telink/zephyr-sdk-0.13.2 \
14
+ && mkdir /opt/telink \
15
+ && cd /opt/telink \
16
+ && wget https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/zephyr-sdk-0.15.2_linux-x86_64.tar.gz \
17
+ && wget -O - https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v0.15.2/sha256.sum | shasum --check --ignore-missing \
18
+ && tar xvf zephyr-sdk-0.15.2_linux-x86_64.tar.gz \
19
+ && rm -rf zephyr-sdk-0.15.2_linux-x86_64.tar.gz \
20
+ && cd zephyr-sdk-0.15.2 \
21
+ && ./setup.sh -t riscv64-zephyr-elf -h -c \
22
+ && cd / \
17
23
&& : # last line
18
24
19
25
# Setup Zephyr
20
- ARG ZEPHYR_REVISION=dac17979d626bb820268660b4272a56d04d8083b
26
+ ARG ZEPHYR_REVISION=2901439a086f8202e63dc6f66a590021bb8e15d3
21
27
WORKDIR /opt/telink/zephyrproject
22
28
RUN set -x \
23
29
&& python3 -m pip install -U --no-cache-dir \
@@ -29,16 +35,19 @@ RUN set -x \
29
35
&& west init -l \
30
36
&& cd .. \
31
37
&& west update -o=--depth=1 -n -f smart \
38
+ && cd modules/hal/telink \
39
+ && git submodule update --init \
40
+ && cd ../../../ \
32
41
&& west zephyr-export \
33
42
&& : # last line
34
43
35
44
FROM connectedhomeip/chip-build:${VERSION}
36
45
37
- COPY --from=build /opt/telink/zephyr-sdk-0.13 .2/ /opt/telink/zephyr-sdk-0.13 .2/
46
+ COPY --from=build /opt/telink/zephyr-sdk-0.15 .2/ /opt/telink/zephyr-sdk-0.15 .2/
38
47
COPY --from=build /opt/telink/zephyrproject/ /opt/telink/zephyrproject/
39
48
40
49
ENV ZEPHYR_TOOLCHAIN_VARIANT=zephyr
41
- ENV ZEPHYR_SDK_INSTALL_DIR=/opt/telink/zephyr-sdk-0.13 .2
50
+ ENV ZEPHYR_SDK_INSTALL_DIR=/opt/telink/zephyr-sdk-0.15 .2
42
51
43
52
RUN set -x \
44
53
&& apt-get update \
0 commit comments