mirror of
https://github.com/lukstep/raspberry-pi-pico-docker-sdk.git
synced 2025-12-22 18:45:56 +03:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
be7e625e2b | ||
|
|
f6fd10e14b |
@@ -4,7 +4,7 @@ FROM ubuntu:24.10 AS gcc_build
|
|||||||
COPY ./install_gcc.sh /home/install_gcc.sh
|
COPY ./install_gcc.sh /home/install_gcc.sh
|
||||||
RUN bash /home/install_gcc.sh
|
RUN bash /home/install_gcc.sh
|
||||||
|
|
||||||
FROM ubuntu:24.10 as sdk_setup
|
FROM ubuntu:24.10 AS sdk_setup
|
||||||
|
|
||||||
RUN apt-get update -y && \
|
RUN apt-get update -y && \
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
@@ -23,7 +23,7 @@ RUN apt-get update -y && \
|
|||||||
|
|
||||||
# Raspberry Pi Pico SDK
|
# Raspberry Pi Pico SDK
|
||||||
ARG SDK_PATH=/usr/local/picosdk
|
ARG SDK_PATH=/usr/local/picosdk
|
||||||
RUN git clone --depth 1 --branch 2.0.0 https://github.com/raspberrypi/pico-sdk $SDK_PATH && \
|
RUN git clone --depth 1 --branch 2.1.0 https://github.com/raspberrypi/pico-sdk $SDK_PATH && \
|
||||||
cd $SDK_PATH && \
|
cd $SDK_PATH && \
|
||||||
git submodule update --init
|
git submodule update --init
|
||||||
|
|
||||||
@@ -38,7 +38,7 @@ RUN git clone --depth 1 --branch V11.0.1 https://github.com/FreeRTOS/FreeRTOS-Ke
|
|||||||
ENV FREERTOS_KERNEL_PATH=$FREERTOS_PATH
|
ENV FREERTOS_KERNEL_PATH=$FREERTOS_PATH
|
||||||
|
|
||||||
# Picotool installation
|
# Picotool installation
|
||||||
RUN git clone --depth 1 --branch 2.0.0 https://github.com/raspberrypi/picotool.git /home/picotool && \
|
RUN git clone --depth 1 --branch 2.1.0 https://github.com/raspberrypi/picotool.git /home/picotool && \
|
||||||
cd /home/picotool && \
|
cd /home/picotool && \
|
||||||
mkdir build && \
|
mkdir build && \
|
||||||
cd build && \
|
cd build && \
|
||||||
|
|||||||
Reference in New Issue
Block a user