Check the project setup picker for current availability. Flashing and debugging depend on the tools and connections supported by your board.
Build, flash, and debug Pico and RP2 firmware
- Install the SDK and tools your project uses, such as the Pico SDK and
picotool. Embedder runs them but doesn’t supply them. - Run
/initso Embedder records your build and flash commands, such aspicotool load, in EMBEDDER.md. Check the commands and the serial port before the first flash. - Ask Embedder to flash. It runs the recorded command and can capture the board’s output from the serial port you name. See Flashing firmware.
- To follow the output while the firmware runs, see UART.
- Debug: GDB debugging goes through OpenOCD or SEGGER J-Link. For a CMSIS-DAP probe, such as the Raspberry Pi Debug Probe, set
Debug Interface = cmsis-dapin EMBEDDER.md and check that OpenOCD supports your exact device. See How Embedder picks a debugger. - USB CDC: for USB CDC with the Pico SDK or TinyUSB on RP2040 or RP2350, run the
usb-cdc-tinyusbskill from the/menu.