File tree 9 files changed +60
-7
lines changed
integrations/docker/images
chip-build-telink-zephyr_3_3
9 files changed +60
-7
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ jobs:
105
105
- " -nxp-zephyr"
106
106
- " -nrf-platform"
107
107
- " -telink"
108
+ - " -telink-zephyr_3_3"
108
109
- " -ti"
109
110
- " -tizen"
110
111
- " -openiotsdk"
Original file line number Diff line number Diff line change @@ -67,5 +67,6 @@ stm32/ @STYoannZamaron
67
67
68
68
telink / @ s07641069
69
69
chip-build-telink / @ s07641069
70
+ chip-build-telink-zephyr_3_3 / @ s07641069
70
71
71
72
webos / @ joonhaengHeo
Original file line number Diff line number Diff line change @@ -175,7 +175,7 @@ be useful for quick filtering like `[TC-ABC-1.2]` to tag test changes.
175
175
Examples of descriptive titles:
176
176
177
177
- ` [Silabs] Fix compile of SiWx917 if LED and BUTTON are disabled `
178
- - ` [Telink] Update build Dockerfile with new Zeprhy SHA: c05c4..... `
178
+ - ` [Telink] Update build Dockerfile with new Zephyr SHA: c05c4..... `
179
179
- ` General Commissioning Cluster: use AttributeAccessInterface/CommandHandlerInterface for processing `
180
180
- ` Scenes Management/CopyScene: set access as manage instead of default to match the spec `
181
181
- ` Fix build errors due to ChipDeviceEvent default constructor not being available `
Original file line number Diff line number Diff line change 1
- 120 : [NXP ] Update NXP sdk version
1
+ 121 : [Telink ] Update Docker image (Zephyr 3.3 & 3.7 support)
Original file line number Diff line number Diff line change
1
+ ARG VERSION=1
2
+ FROM ghcr.io/project-chip/chip-build:${VERSION} as build
3
+ LABEL org.opencontainers.image.source https://github.com/project-chip/connectedhomeip
4
+
5
+ RUN set -x \
6
+ && apt-get update \
7
+ && DEBIAN_FRONTEND=noninteractive apt-get install -fy --no-install-recommends \
8
+ xz-utils \
9
+ && : # last line
10
+
11
+ # Setup toolchain
12
+ WORKDIR /opt/telink
13
+ RUN set -x \
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 \
18
+ && : # last line
19
+
20
+ # Setup Zephyr version: 3.3.0; branch: develop_3.3
21
+ ARG ZEPHYR_REVISION=fdccaba1ebc147908e9cca653e6c6743def3332b
22
+ WORKDIR /opt/telink/zephyrproject
23
+ RUN set -x \
24
+ && python3 -m pip install --break-system-packages -U --no-cache-dir west \
25
+ && git init zephyr \
26
+ && cd zephyr \
27
+ && git remote add origin https://github.com/telink-semi/zephyr \
28
+ && git fetch --depth=1 origin ${ZEPHYR_REVISION} \
29
+ && git reset ${ZEPHYR_REVISION} --hard \
30
+ && west init -l \
31
+ && west update -o=--depth=1 -n -f smart \
32
+ && west blobs fetch hal_telink \
33
+ && : # last line
34
+
35
+ FROM ghcr.io/project-chip/chip-build:${VERSION}
36
+
37
+ COPY --from=build /opt/telink/zephyr-sdk-0.17.0/ /opt/telink/zephyr-sdk-0.17.0/
38
+ COPY --from=build /opt/telink/zephyrproject/ /opt/telink/zephyrproject/
39
+
40
+ RUN set -x \
41
+ && apt-get update \
42
+ && apt-get clean \
43
+ && rm -rf /var/lib/apt/lists/ \
44
+ && pip3 install --break-system-packages --no-cache-dir --user -r /opt/telink/zephyrproject/zephyr/scripts/requirements.txt \
45
+ && : # last line
46
+
47
+ ENV TELINK_ZEPHYR_BASE=/opt/telink/zephyrproject/zephyr
48
+ ENV TELINK_ZEPHYR_SDK_DIR=/opt/telink/zephyr-sdk-0.17.0
Original file line number Diff line number Diff line change
1
+ ../../../build.sh
Original file line number Diff line number Diff line change
1
+ ../../../run.sh
Original file line number Diff line number Diff line change
1
+ ../../base/chip-build/version
Original file line number Diff line number Diff line change @@ -17,19 +17,19 @@ RUN set -x \
17
17
&& zephyr-sdk-0.17.0/setup.sh -t riscv64-zephyr-elf \
18
18
&& : # last line
19
19
20
- # Setup Zephyr
21
- ARG ZEPHYR_REVISION=fdccaba1ebc147908e9cca653e6c6743def3332b
20
+ # Setup Zephyr version: 3.7.0; branch: develop
21
+ ARG ZEPHYR_REVISION=46b82695b9390d74bcfa4b01a14a009c01b96895
22
22
WORKDIR /opt/telink/zephyrproject
23
23
RUN set -x \
24
24
&& python3 -m pip install --break-system-packages -U --no-cache-dir west \
25
- && git clone https://github.com/telink-semi/ zephyr \
25
+ && git init zephyr \
26
26
&& cd zephyr \
27
+ && git remote add origin https://github.com/telink-semi/zephyr \
28
+ && git fetch --depth=1 origin ${ZEPHYR_REVISION} \
27
29
&& git reset ${ZEPHYR_REVISION} --hard \
28
30
&& west init -l \
29
- && cd .. \
30
31
&& west update -o=--depth=1 -n -f smart \
31
32
&& west blobs fetch hal_telink \
32
- && west zephyr-export \
33
33
&& : # last line
34
34
35
35
FROM ghcr.io/project-chip/chip-build:${VERSION}
You can’t perform that action at this time.
0 commit comments