Skip to content

Commit ed5efdf

Browse files
authored
Merge pull request #2 from paulober/fix-openocd-build-linuxgpiod-adapter
Fix OpenOCD build missing linuxgpiod adapter
2 parents af49969 + a508ba0 commit ed5efdf

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Pico SDK Tools
22

3-
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).
3+
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).
44
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.
55

6-
The tools currently included are
7-
* picotool
8-
* OpenOCD
9-
* pioasm
10-
* 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)
6+
The tools currently included are:
7+
* **picotool**
8+
* **OpenOCD** (includes `linuxgpiod` and `cmsis-dap` adapters)
9+
* **pioasm**
10+
* **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)

build_linux.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ SKIP_RISCV=${SKIP_RISCV-0}
77
SKIP_OPENOCD=${SKIP_OPENOCD-0}
88

99
# Install prerequisites
10-
sudo apt install -y jq cmake libtool automake libusb-1.0-0-dev libhidapi-dev libftdi1-dev
11-
# Risc-V prerequisites
10+
sudo apt install -y jq cmake libtool automake libusb-1.0-0-dev libhidapi-dev libftdi1-dev libgpiod-dev
11+
# RISC-V prerequisites
1212
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
1313

1414
repos=$(cat config/repositories.json | jq -c '.repositories[]')
@@ -94,11 +94,11 @@ fi
9494
if [[ "$SKIP_RISCV" != 1 ]]; then
9595
# Package riscv toolchain separately as well
9696
version="14"
97-
echo "Risc-V Toolchain version $version"
97+
echo "RISC-V Toolchain version $version"
9898

9999
filename="riscv-toolchain-${version}-${suffix}.tar.gz"
100100

101-
echo "Saving Risc-V Toolchain package to $filename"
101+
echo "Saving RISC-V Toolchain package to $filename"
102102
pushd "$builddir/riscv-install/"
103103
tar -a -cf "$topd/bin/$filename" *
104104
popd

0 commit comments

Comments
 (0)