Download and Setup Picoprobe

cd ~/pi_pico
git clone -b master https://github.com/raspberrypi/picoprobe.git
cd picoprobe
git submodule update --init --recursive
mkdir build
cd build
cmake ../
make

Download and Setup Compiler OpenOCD

This tool will be used for debugging pico, if you don't want to debug then skip this step

cd ~/pi_pico
git clone https://github.com/raspberrypi/openocd.git --branch rp2040 --depth=1
cd openocd
./bootstrap
./configure --enable-picoprobe --enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio
make


©2023-2024 rculock.com