Update MicroPython build step and reorder it to after toolchain step.

RaspberryPi have updated the build instructions, e.g. the git repo is no longer valid.
This commit is contained in:
Wayne Keenan 2021-04-11 13:15:13 +01:00 committed by GitHub
parent 5a5e61529a
commit cfabc7c771
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 12 deletions

View File

@ -25,18 +25,7 @@ git clone -b master https://github.com/raspberrypi/pico-examples.git
```
**Step 3.** Install the MicroPython port (optional):
```bash
git clone -b pico https://github.com/raspberrypi/micropython.git
cd micropython
git submodule update --init -- lib/pico-sdk
cd lib/pico-sdk
git submodule update --init
cd ../../..
```
**Step 4.** Install the toolchain needed to build Pico projects.
**Step 3.** Install the toolchain needed to build Pico projects.
**Debian Linux**
@ -58,6 +47,17 @@ brew install arm-none-eabi-gcc
xcode-select --install
```
**Step 4.** Install the MicroPython port (optional):
```bash
git clone -b master https://github.com/micropython/micropython.git
cd micropython
git submodule update --init -- lib/pico-sdk lib/tinyusb
make -C mpy-cross
cd ports/rp2
make
cd ../../../
```
**Step 5.** Install the Pimoroni Pico libraries:
```bash