Skip to content

Commit

Permalink
[K32W0] Use west tool to get SDK (#28431)
Browse files Browse the repository at this point in the history
Signed-off-by: Marius Tache <[email protected]>
  • Loading branch information
marius-alex-tache authored and pull[bot] committed Oct 13, 2023
1 parent 89a490c commit 2353825
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion integrations/docker/images/base/chip-build/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4 : [Ameba] Upgrade to c++17
5 : Use west to download the K32W0 SDK
14 changes: 9 additions & 5 deletions integrations/docker/images/stage-2/chip-build-k32w/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,19 @@ RUN set -x \
&& : # last line

WORKDIR /opt/sdk
# Setup the K32W SDK

RUN set -x \
&& wget https://cache.nxp.com/lgfiles/bsps/SDK_2_6_11_K32W061DK6.zip \
&& unzip SDK_2_6_11_K32W061DK6.zip \
&& rm -rf SDK_2_6_11_K32W061DK6.zip \
&& python3 -m pip install -U --no-cache-dir west==1.0.0 \
&& west init -m https://github.com/nxp-mcuxpresso/mcux-sdk --mr "release/2.6.x_k32w0" \
&& west update \
&& chmod +x core/tools/imagetool/sign_images.sh \
&& ln -sf ../rtos core \
&& ln -sf ../middleware core \
&& cp -R examples/* core/boards && rm -rf examples \
&& : # last line

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

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

ENV NXP_K32W0_SDK_ROOT=/opt/sdk
ENV NXP_K32W0_SDK_ROOT=/opt/sdk/core

0 comments on commit 2353825

Please sign in to comment.