Skip to content

Commit d0bef2d

Browse files
authored
Merge pull request #164 from yujiyokoo/update-pico-sdk-version
Update Dockerfile and Rakefile for pico sdk 1.5.0
2 parents 98fee66 + 2590a7b commit d0bef2d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ RUN pacman -Sy --noconfirm \
1717
ruby-rake \
1818
ruby-bundler
1919

20-
RUN git clone https://github.com/raspberrypi/pico-sdk.git -b 1.4.0
20+
RUN git clone https://github.com/raspberrypi/pico-sdk.git -b 1.5.0
2121
RUN cd /pico-sdk/lib && git submodule update --init ./
2222
ENV PICO_SDK_PATH "/pico-sdk"
2323

Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ end
5151

5252
task :check_pico_sdk => :check_pico_sdk_path do
5353
FileUtils.cd ENV["PICO_SDK_PATH"] do
54-
unless `git status --branch`.split("\n")[0].end_with?(PICO_SDK_TAG)
54+
unless `git describe --tags`.strip.end_with?(PICO_SDK_TAG)
5555
raise <<~MSG
5656
pico-sdk #{PICO_SDK_TAG} is not checked out!\n
5757
Tips for dealing with:\n

0 commit comments

Comments
 (0)