Skip to content

Instantly share code, notes, and snippets.

@sergiocasero
Created February 1, 2021 20:26
Show Gist options
  • Save sergiocasero/42f87ae14e33c0594d268f60bb38b06a to your computer and use it in GitHub Desktop.
Save sergiocasero/42f87ae14e33c0594d268f60bb38b06a to your computer and use it in GitHub Desktop.
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