forked from andrey/raspberry-pi-pico-docker-sdk
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1fcde7be27 |
@@ -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 2.1.1 --single-branch https://github.com/raspberrypi/pico-sdk $SDK_PATH && \
|
RUN git clone --depth 1 --branch 1.5.1 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 2.1.1 --single-branch https://github.com/raspberrypi/picotool.git /home/picotool && \
|
RUN git clone --depth 1 --branch 1.1.2 https://github.com/raspberrypi/picotool.git /home/picotool && \
|
||||||
cd /home/picotool && \
|
cd /home/picotool && \
|
||||||
mkdir build && \
|
mkdir build && \
|
||||||
cd build && \
|
cd build && \
|
||||||
|
|||||||
13
Jenkinsfile
vendored
13
Jenkinsfile
vendored
@@ -1,13 +0,0 @@
|
|||||||
node {
|
|
||||||
stage("Download SRC") {
|
|
||||||
checkout scm
|
|
||||||
}
|
|
||||||
|
|
||||||
stage("Docker build") {
|
|
||||||
docker.build("${env.DOCKER_PREFIX}/picosdk", ".")
|
|
||||||
}
|
|
||||||
|
|
||||||
stage("docker prune") {
|
|
||||||
sh 'docker system prune -f'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
[](https://github.com/lukstep/raspberry-pi-pico-docker-sdk/actions/workflows/sdk-ci.yml)
|
[](https://github.com/lukstep/raspberry-pi-pico-docker-sdk/actions/workflows/sdk-ci.yml)
|
||||||
|
|
||||||
# Raspberry Pi Pico Docker SDK
|
# Raspberry Pi Pico Docker SDK
|
||||||
|
|
||||||
|
|||||||
@@ -4,9 +4,6 @@ include($ENV{PICO_SDK_PATH}/external/pico_sdk_import.cmake)
|
|||||||
|
|
||||||
project(sample C CXX ASM)
|
project(sample C CXX ASM)
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER /usr/bin/arm-none-eabi-gcc CACHE PATH "" FORCE)
|
|
||||||
set(CMAKE_CXX_COMPILER /usr/bin/arm-none-eabi-g++ CACHE PATH "" FORCE)
|
|
||||||
|
|
||||||
set(CMAKE_C_STANDARD 11)
|
set(CMAKE_C_STANDARD 11)
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user