This will produce blink.uf2 which is your file-to-flash.
Flash
Enter bootloader mode by:
holding boot (B) button and
pressing reset (R) once
The UF2 bootloader of the RP2040 presents the flash memory to your computer as a USB mass storage device. Mount it so its virtual filesystem is visible to you.
Then:
cp blink.uf2 /media/joonas/RPI-RP2/
This will boot the device with the content that you flashed.
arduino-nano
The base instructions are about same as RP2040, but other details were like this:
RP2040
Programming language / compiler
Tinygo is variant of Go intended for microcontrollers.
The microcontroller
Build
Have this
main.go
:Run the build in a container:
This will produce
blink.uf2
which is your file-to-flash.Flash
Enter bootloader mode by:
B
) button andR
) onceThe UF2 bootloader of the RP2040 presents the flash memory to your computer as a USB mass storage device. Mount it so its virtual filesystem is visible to you.
Then:
This will boot the device with the content that you flashed.
arduino-nano
The base instructions are about same as RP2040, but other details were like this: