Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This is a simple and small script to automatize the raspberry pi pico micropython SDK compilation
mkdir pico_micropython_install
cd pico_micropython_install
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 ../..
make -C mpy-cross
cd ports/rp2
make
echo "Everything is done!! You'll find the firmware.uf2 file inside build/ folder :)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment