Skip to content

Latest commit

 

History

History

xiao_rp2040

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

XIAO RP2040 port

English 日本語

Pin assignments

Pin Number Pin Name SWD pin
GND GND GND
8 GPIO2 SWCLK
9 GPIO4 SWDIO
0 GPIO26 RESET

How to build

How to use

Use with pyOCD

Install pyOCD

python3 -m pip install pyocd

Run pyOCD and GDB connection

pyocd gdbserver --target rp2040_core0

Run GDB in another terminal.

gdb-multiarch, which is installed with apt, seems to fail to recognize the architecture correctly, so download the toolchain from Arm's website and use GDB in it.

arm-none-eabi-gdb <target elf file> -ex "target extended-remote localhost:3333"