Skip to content

Commit 0391291

Browse files
marius-alex-tachepull[bot]
authored andcommitted
[Docker][K32W1] Add support for K32W1 SDK (#28601)
Signed-off-by: Marius Tache <[email protected]>
1 parent 5e8b113 commit 0391291

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5 : Use west to download the K32W0 SDK
1+
6 : Add support for K32W1 SDK

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

+7
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,15 @@ RUN set -x \
2222
&& cp -R examples/* core/boards && rm -rf examples \
2323
&& : # last line
2424

25+
RUN set -x \
26+
&& mkdir -p k32w1
27+
&& wget https://cache.nxp.com/lgfiles/bsps/SDK_2_12_5_K32W148-EVK.zip \
28+
&& unzip SDK_2_12_5_K32W148-EVK.zip -d k32w1 \
29+
&& rm -rf SDK_2_12_5_K32W148-EVK.zip \
30+
2531
FROM ghcr.io/project-chip/chip-build:${VERSION}
2632

2733
COPY --from=build /opt/sdk/ /opt/sdk/
2834

2935
ENV NXP_K32W0_SDK_ROOT=/opt/sdk/core
36+
ENV NXP_K32W1_SDK_ROOT=/opt/sdk/k32w1

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ COPY --from=crosscompile /opt/ubuntu-22.04.1-aarch64-sysroot /opt/ubuntu-22.04.1
4848

4949
COPY --from=ameba /opt/ameba /opt/ameba
5050

51-
COPY --from=k32w /opt/sdk /opt/k32w_sdk
51+
COPY --from=k32w /opt/sdk /opt/k32w
5252

5353
COPY --from=imx /opt/fsl-imx-xwayland /opt/fsl-imx-xwayland
5454

@@ -104,7 +104,8 @@ ENV IDF_TOOLS_PATH=/opt/espressif/tools
104104
ENV IMX_SDK_ROOT=/opt/fsl-imx-xwayland/6.1-langdale
105105
ENV JAVA_PATH=/usr/lib/jvm/java-8-openjdk-amd64
106106
ENV NRF5_TOOLS_ROOT=/opt/NordicSemiconductor/nRF5_tools
107-
ENV NXP_K32W0_SDK_ROOT=/opt/k32w_sdk
107+
ENV NXP_K32W0_SDK_ROOT=/opt/k32w/core
108+
ENV NXP_K32W1_SDK_ROOT=/opt/k32w/k32w1
108109
ENV OPENOCD_PATH=/opt/openocd/
109110
ENV PW_ENVIRONMENT_ROOT=/home/vscode/pigweed/env
110111
ENV QEMU_ESP32=/opt/espressif/qemu/xtensa-softmmu/qemu-system-xtensa

0 commit comments

Comments
 (0)