how to use this project template make a copy side-by-side with the pico-sdk and rename it to your project. in CMakeLists.txt change the project name to your project. Open CMakeLists.txt in your IDE. or do it on the command line: *** change the board name and toolchain file if needed! *** *** you may prefer to export PICO_SDK_PATH=/hard/path/to/pico-sdk *** cd YOUR_PROJECT mkdir build-debug cd build-debug rm -rf * export PICO_SDK_PATH=../../pico-sdk cmake -DCMAKE_BUILD_TYPE=Debug -DPICO_BOARD=vgaboard -DCMAKE_TOOLCHAIN_FILE=../../pico-sdk/cmake/preload/toolchains/pico_arm_cortex_m0plus_gcc.cmake .. make -j cd YOUR_PROJECT mkdir build-release cd build-release rm -rf * export PICO_SDK_PATH=../../pico-sdk cmake -DCMAKE_BUILD_TYPE=Release -DPICO_BOARD=vgaboard -DCMAKE_TOOLCHAIN_FILE=../../pico-sdk/cmake/preload/toolchains/pico_arm_cortex_m0plus_gcc.cmake .. make -j *** if you use lib kilipili and want to build the desktop tools: cd YOUR_PROJECT cd kilipili/desktop_tools mkdir build cd build rm -rf * export PICO_SDK_PATH=../../../../pico-sdk cmake -DCMAKE_BUILD_TYPE=Debug -DPICO_BOARD=vgaboard -DMAKE_TOOLS=1 .. make -j *** connect to your pico: (for SIO over USB) minicom -D /dev/ttyUSB0 *** flash your program into your pico using DebugProbe: *** https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program MYPROGRAM.elf verify reset exit" *** connect to your pico: (for SIO over DebugProbe) minicom -D /dev/ttyACM0