Skip to content

Commit

Permalink
Merge pull request #27 from Jakio815/main
Browse files Browse the repository at this point in the history
Fix of the issue with the Pico SDK version mismatch between pico-examples and lf-3pi-template
  • Loading branch information
hokeun authored Sep 5, 2024
2 parents c041261 + 1e36b85 commit e991554
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Prerequisites.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ Your system must have the following (very common) software packages installed (w

### Installation on Ubuntu
```bash
$ sudo apt install gh git curl openjdk-17-jdk openjdk-17-jre nix screen
$ sudo apt update
$ sudo apt install gh git curl openjdk-17-jdk openjdk-17-jre nix screen cmake
$ sudo snap install code --classic
```

Expand Down
7 changes: 7 additions & 0 deletions src/Tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,17 @@ If the environment variable `PICO_SDK_PATH` is not set, simply run `nix develop`

First, clone the [raspberry-pi/pico-examples](https://github.com/raspberrypi/pico-examples) repository (for example, in your home directory) and make it your current working directory:

> **_Note_**
>
> As of September 2024, we need to check out the specific commit version (`c95295f830a68a4854f822f07ef1b9b5abc3079e`) as shown below
> because the current template (`lf-3pi-template`) uses Raspberry Pi Pico SDK version 1.5.1,
> while the current version of `pico-examples` requires Pico SDK version 2.0.0.
```bash
$ cd ~
$ git clone https://github.com/raspberrypi/pico-examples.git
$ cd pico-examples
$ git checkout c95295f830a68a4854f822f07ef1b9b5abc3079e
```

Make a blank `build` directory and use it to compile all the examples:
Expand Down

0 comments on commit e991554

Please sign in to comment.