Created
February 1, 2021 20:26
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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