From 27d292a077a6585f7da5f177233dc933fdbf9cdb Mon Sep 17 00:00:00 2001 From: jar Date: Fri, 21 May 2021 00:11:04 -0400 Subject: [PATCH] Added PkgConfig dependency for picotool If pkg-config is not installed, picotool cannot find libusb-1.0-0 and the pico_setup.sh fails with an error. I believe this is the simplest fix to solve the issue within Ubuntu 20.04 for Raspberry Pi 4 64-bit. --- pico_setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pico_setup.sh b/pico_setup.sh index 4a928d7..06ed89d 100755 --- a/pico_setup.sh +++ b/pico_setup.sh @@ -17,7 +17,7 @@ OUTDIR="$(pwd)/pico" # Install dependencies GIT_DEPS="git" -SDK_DEPS="cmake gcc-arm-none-eabi gcc g++" +SDK_DEPS="cmake gcc-arm-none-eabi gcc g++ pkg-config" OPENOCD_DEPS="gdb-multiarch automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev" # Wget to download the deb VSCODE_DEPS="wget"