SDK upgrade

This commit is contained in:
lukstep
2023-02-28 22:26:04 +01:00
parent fb5f876583
commit 8330c3c482

View File

@@ -1,4 +1,4 @@
FROM alpine:3.16.2 FROM alpine:3.17.0
# Install toolchain # Install toolchain
RUN apk update && \ RUN apk update && \
@@ -15,14 +15,14 @@ RUN apk update && \
# Raspberry Pi Pico SDK # Raspberry Pi Pico SDK
ARG SDK_PATH=/usr/share/pico_sdk ARG SDK_PATH=/usr/share/pico_sdk
RUN git clone --depth 1 --branch 1.4.0 https://github.com/raspberrypi/pico-sdk $SDK_PATH && \ RUN git clone --depth 1 --branch 1.5.0 https://github.com/raspberrypi/pico-sdk $SDK_PATH && \
cd $SDK_PATH && \ cd $SDK_PATH && \
git submodule update --init git submodule update --init
ENV PICO_SDK_PATH=$SDK_PATH ENV PICO_SDK_PATH=$SDK_PATH
# Picotool installation # Picotool installation
RUN git clone --depth 1 --branch 1.1.0 https://github.com/raspberrypi/picotool.git /home/picotool && \ RUN git clone --depth 1 --branch 1.1.1 https://github.com/raspberrypi/picotool.git /home/picotool && \
cd /home/picotool && \ cd /home/picotool && \
mkdir build && \ mkdir build && \
cd build && \ cd build && \