takayoshiotake / rpi-rp2-gcc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rpi-rp2-gcc

Get the SDK and Examples

$ cd pico-volume-root
$ ./get-sdk-and-examples.sh
Cloning into 'pico-sdk'...

Setup the Toolchain

$ docker-compose build pico
Building pico
...
Successfully tagged rpi-rp2-gcc_pico:latest

Build the Examples

$ docker-compose run pico
# cd /root/pico/pico-examples
# mkdir -p build && cd $_
# cmake ..
# cd blink
# make -j4

Now you have blink.uf2 in pico-examples/build/blink/, and you can drag and drop it into RPI-RP2 to load it.

References

About

License:MIT License


Languages

Language:Dockerfile 63.2%Language:Shell 36.8%