Skip to content

Commit 04ac212

Browse files
[NXP][docker] Update k32w1 SDK (#34927)
Signed-off-by: marius-alex-tache <marius.tache@nxp.com>
1 parent 3b90fed commit 04ac212

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
69 : [Infineon] Update ModusToolbox version to 3.2
1+
70 : [NXP] Update k32w1 SDK

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

+11-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ RUN set -x \
1414
WORKDIR /opt/sdk
1515

1616
RUN set -x \
17-
&& python3 -m pip install --break-system-packages -U --no-cache-dir west==1.0.0 \
17+
&& python3 -m pip install --break-system-packages -U --no-cache-dir west==1.2.0 \
18+
&& : # last line
19+
20+
RUN set -x \
1821
&& west init -m https://github.com/nxp-mcuxpresso/mcux-sdk --mr "MCUX_2.6.14_K32W0" \
1922
&& west update \
2023
&& chmod +x core/tools/imagetool/sign_images.sh \
@@ -24,14 +27,16 @@ RUN set -x \
2427
&& : # last line
2528

2629
RUN set -x \
27-
&& mkdir -p k32w1 \
28-
&& wget https://cache.nxp.com/lgfiles/bsps/SDK_2_12_7_K32W148-EVK.zip \
29-
&& unzip SDK_2_12_7_K32W148-EVK.zip -d k32w1 \
30-
&& rm -rf SDK_2_12_7_K32W148-EVK.zip
30+
&& mkdir -p k32w1/repo \
31+
&& cd k32w1/repo
32+
&& west init -m https://github.com/nxp-mcuxpresso/mcux-sdk --mr "MCUX_2.16.000" \
33+
&& west update -o=--depth=1 -n -f smart \
34+
&& cd - \
35+
&& : # last line
3136

3237
FROM ghcr.io/project-chip/chip-build:${VERSION}
3338

3439
COPY --from=build /opt/sdk/ /opt/sdk/
3540

3641
ENV NXP_K32W0_SDK_ROOT=/opt/sdk/core
37-
ENV NXP_K32W1_SDK_ROOT=/opt/sdk/k32w1
42+
ENV NXP_SDK_ROOT=/opt/sdk/k32w1/repo

0 commit comments

Comments
 (0)