Build environment for Raspberry Pi Pico (RP2040) C/C++ SDK
docker pull xingrz/rpi-pico-builder:latest
- Clone pico-sdk
- Clone pico-examples, or set up your own project
-
docker run --rm -it \ -v /path/to/your/pico-sdk:/pico-sdk \ -v /path/to/your/pico-examples:/project \ xingrz/rpi-pico-builder:latest \ bash -c 'mkdir -p build && cd build && cmake .. && make blink'
- Copy
build/blink/blink.uf2
into the RPI-RP2 drive