kopia lustrzana https://github.com/pimoroni/pimoroni-pico
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.pull/122/head
rodzic
5a5e61529a
commit
cfabc7c771
|
@ -25,18 +25,7 @@ git clone -b master https://github.com/raspberrypi/pico-examples.git
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
**Step 3.** Install the MicroPython port (optional):
|
**Step 3.** Install the toolchain needed to build Pico projects.
|
||||||
|
|
||||||
```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.
|
|
||||||
|
|
||||||
|
|
||||||
**Debian Linux**
|
**Debian Linux**
|
||||||
|
@ -58,6 +47,17 @@ brew install arm-none-eabi-gcc
|
||||||
xcode-select --install
|
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:
|
**Step 5.** Install the Pimoroni Pico libraries:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Ładowanie…
Reference in New Issue