Skip to content

Commit 36df7b6

Browse files
authored
Enable gpiod driver for pi5
-added parts to enable gpiod driver for pi5
1 parent d13cbac commit 36df7b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pico_setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ OUTDIR="$(pwd)/pico"
1818
# Install dependencies
1919
GIT_DEPS="git"
2020
SDK_DEPS="cmake gcc-arm-none-eabi gcc g++"
21-
OPENOCD_DEPS="gdb-multiarch automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev"
21+
OPENOCD_DEPS="gdb-multiarch automake autoconf build-essential texinfo libtool libftdi-dev libusb-1.0-0-dev libgpiod-dev"
2222
VSCODE_DEPS="code"
2323
UART_DEPS="minicom"
2424

@@ -127,7 +127,7 @@ else
127127
# Should we include picoprobe support (which is a Pico acting as a debugger for another Pico)
128128
INCLUDE_PICOPROBE=1
129129
OPENOCD_BRANCH="rp2040-v0.12.0"
130-
OPENOCD_CONFIGURE_ARGS="--enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio"
130+
OPENOCD_CONFIGURE_ARGS="--enable-ftdi --enable-sysfsgpio --enable-bcm2835gpio --enable-linuxgpiod"
131131
if [[ "$INCLUDE_PICOPROBE" == 1 ]]; then
132132
OPENOCD_CONFIGURE_ARGS="$OPENOCD_CONFIGURE_ARGS --enable-picoprobe"
133133
fi

0 commit comments

Comments
 (0)