Skip to content

Commit

Permalink
Build openocd
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed May 20, 2024
1 parent e50c54a commit 57a6a36
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions scripts/sh/install_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ PACKAGES+=(tmux ack htop mtools shellcheck tree xdg-utils)

if is_wsl; then
PACKAGES+=(wslu)
else
TASKS+=(openocd)
fi

if ! is_rpi; then
Expand Down
3 changes: 2 additions & 1 deletion scripts/sh/install_openocd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ if is_debian || is_ubuntu; then
install_package automake autoconf texinfo libtool libftdi-dev
fi

clone_third_party_github_shallow raspberrypi $PROJECT --branch=rp2040
clone_third_party_github_shallow raspberrypi $PROJECT \
--branch=rp2040-v0.12.0 --single-branch --depth 1

safe_pushd "$THIRD_PARTY/$PROJECT"

Expand Down

0 comments on commit 57a6a36

Please sign in to comment.