The official way of including Pico-PIO-USB with the Pico SDK is -I cloned https://github.com/sekigon-gonnoc/Pico-PIO-USB into the same parent directory that I have pico-sdk and my code in
That puts Pico-PIO-USB at '~/pico/pico-sdk/lib/tinyusb/hw/mcu/raspberry_pi/Pico-PIO-USB'.cd ~/pico/pico-sdk/lib/tinyusb
python tools/get_deps.py rp2040
My notes also say to edit '~/pico/pico-sdk/lib/tinyusb/hw/mcu/raspberry_pi/Pico-PIO-USB/src/pio_usb_device.c' to add #include "pico.h".
Might be worth doing that so you are in sync with the Pico SDK.
Statistics: Posted by hippy — Fri Dec 19, 2025 4:08 pm