From a508ba0f4b6ab92ef4644f47d2976462edd10c5c Mon Sep 17 00:00:00 2001 From: paulober <44974737+paulober@users.noreply.github.com> Date: Fri, 6 Sep 2024 19:15:40 +0100 Subject: [PATCH] Fix OpenOCD build missing linuxgpiod adapter Signed-off-by: paulober <44974737+paulober@users.noreply.github.com> --- README.md | 12 ++++++------ build_linux.sh | 8 ++++---- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index c666b4a..37656c5 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ # Pico SDK Tools -This repository is used to provide pre-built binaries of the SDK tools for Windows, MacOS, Raspberry Pi OS, and other Linux operating systems (builds performed on Ubuntu). +This repository is used to provide pre-built binaries of the SDK tools for Windows, macOS, Raspberry Pi OS, and other Linux operating systems (builds performed on Ubuntu). These binaries are primarilly for use by the [pico-vscode](https://github.com/raspberrypi/pico-vscode) extension, and the release format is subject to change at any time. -The tools currently included are -* picotool -* OpenOCD -* pioasm -* Risc-V Toolchain for Raspberry Pi OS - for other OSs, the extension uses the compilers from [Core-V](https://www.embecosm.com/resources/tool-chain-downloads/#corev) +The tools currently included are: +* **picotool** +* **OpenOCD** (includes `linuxgpiod` and `cmsis-dap` adapters) +* **pioasm** +* **RISC-V Toolchain for Raspberry Pi OS** - for other OSs, the extension uses the compilers from [Core-V](https://www.embecosm.com/resources/tool-chain-downloads/#corev) diff --git a/build_linux.sh b/build_linux.sh index 1313e87..b014cca 100755 --- a/build_linux.sh +++ b/build_linux.sh @@ -7,8 +7,8 @@ SKIP_RISCV=${SKIP_RISCV-0} SKIP_OPENOCD=${SKIP_OPENOCD-0} # Install prerequisites -sudo apt install -y jq cmake libtool automake libusb-1.0-0-dev libhidapi-dev libftdi1-dev -# Risc-V prerequisites +sudo apt install -y jq cmake libtool automake libusb-1.0-0-dev libhidapi-dev libftdi1-dev libgpiod-dev +# RISC-V prerequisites sudo apt install -y autoconf automake autotools-dev curl python3 python3-pip libmpc-dev libmpfr-dev libgmp-dev gawk build-essential bison flex texinfo gperf libtool patchutils bc zlib1g-dev ninja-build git cmake libglib2.0-dev libslirp-dev repos=$(cat config/repositories.json | jq -c '.repositories[]') @@ -94,11 +94,11 @@ fi if [[ "$SKIP_RISCV" != 1 ]]; then # Package riscv toolchain separately as well version="14" - echo "Risc-V Toolchain version $version" + echo "RISC-V Toolchain version $version" filename="riscv-toolchain-${version}-${suffix}.tar.gz" - echo "Saving Risc-V Toolchain package to $filename" + echo "Saving RISC-V Toolchain package to $filename" pushd "$builddir/riscv-install/" tar -a -cf "$topd/bin/$filename" * popd