- Download the latest
udpih_pico.uf2for the Pico, orudpih_pico2.uf2for the Pico 2, from the releases page. - Hold down the
BOOTSELbutton on the board and connect the Pico to your PC.
Your PC will detect the Pi as a storage device. - Copy the
.uf2file to the Pico. It will disconnect after a few seconds.
The Pico is now flashed and can be used for udpih. Continue with "Booting the recovery_menu".
- Set up the pico-sdk.
- Download the latest
arm_kernel.bin.hfrom the releases page and copy it to thearm_kerneldirectory (or build it from source).
You can also simply run:
curl -L https://github.com/GaryOderNichts/udpih/releases/latest/download/arm_kernel.bin.h > arm_kernel/arm_kernel.bin.h- Run
make pico. The built files will be in thepico/build_*directories.