Nano RP2040

The Nano RP2040 is a tiny development board based on the Raspberry Pi RP2040 microcontroller.

Interfaces

Interface Hardware Supported TinyGo Support
GPIO YES YES
UART YES YES
SPI YES Not yet
I2C YES Not yet
ADC YES YES
PWM YES Not yet

Machine Package Docs

Documentation for the machine package for the Nano RP2040

Flashing

UF2

The Nano RP2040 comes with the UF2 bootloader already installed.

CLI Flashing

  • Plug your Nano RP2040 into your computer’s USB port while shorting the pins REC and GND with a jumper wire.

  • Once plugged in, remove the jumper pin.

  • Flash your TinyGo program to the board using this command:

    tinygo flash -target=nano-rp2040 [PATH TO YOUR PROGRAM]
    
  • The Nano RP2040 board should restart and then begin running your program.

Troubleshooting

Any troubleshooting tips go here.

Notes

You cannot yet use the USB port to the Nano RP2040 as a serial port. Instead UART0 refers to the TX/RX pins on the board itself.