Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pi/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ if [ "$UPDATE_ONLY" = false ]; then
*) echo "WARNING: unsupported arch $ARCH for openocd-esp32, skipping"; OCD_ARCH="" ;;
esac
if [ -n "$OCD_ARCH" ]; then
OCD_VER="v0.12.0-esp32-20260304"
OCD_URL="https://github.com/espressif/openocd-esp32/releases/download/${OCD_VER}/openocd-esp32-linux-${OCD_ARCH}-0.12.0-esp32-20260304.tar.gz"
#OCD_VER="v0.12.0-esp32-20260304"

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can probably remove the old version definition, but left it to show the difference with the 'v' prefix. Without the prefix, the OCD_VER can be used the two times it's needed to create the OCD_URL below.

OCD_VER="0.12.0-esp32-20260424"
OCD_URL="https://github.com/espressif/openocd-esp32/releases/download/v${OCD_VER}/openocd-esp32-linux-${OCD_ARCH}-${OCD_VER}.tar.gz"
wget -q "$OCD_URL" -O /tmp/openocd-esp32.tar.gz
tar xzf /tmp/openocd-esp32.tar.gz -C /tmp/
cp /tmp/openocd-esp32/bin/openocd /usr/local/bin/openocd-esp32
Expand Down Expand Up @@ -90,7 +91,6 @@ cp "$SCRIPT_DIR/portal.py" /usr/local/bin/rfc2217-portal
cp "$SCRIPT_DIR/plain_rfc2217_server.py" /usr/local/bin/plain_rfc2217_server.py
cp "$SCRIPT_DIR/wifi_controller.py" /usr/local/bin/wifi_controller.py
cp "$SCRIPT_DIR/ble_controller.py" /usr/local/bin/ble_controller.py
cp "$SCRIPT_DIR/cw_beacon.py" /usr/local/bin/cw_beacon.py
cp "$SCRIPT_DIR/bcm_gpio.py" /usr/local/bin/bcm_gpio.py
cp "$SCRIPT_DIR/gpclk.py" /usr/local/bin/gpclk.py
cp "$SCRIPT_DIR/morse.py" /usr/local/bin/morse.py
Expand Down