Articles

Go Setup

Go

wget https://go.dev/dl/go1.24.1.linux-arm64.tar.gz
sudo rm -rf /usr/local/go && sudo tar -C /usr/local -xzf go1.24.1.linux-arm64.tar.gz

TinyGo
wget https://github.com/tinygo-org/tinygo/releases/download/v0.35.0/tinygo_0.35.0_armhf.deb
sudo dpkg -i  tinygo_0.35.0_armhf.deb
sudo nano -w  /boot/firmware/config.txt
# Force 4k page size to work around error:
# libdl.so.2: ELF load command address/offset not page-aligned
kernel=kernel8.img

# Pico SDK
cd ~/Repos/pico-sdk
git submodule update --init

# picotool
export PICO_SDK_PATH=~/Repos/pico-sdk/
cd ~/Repos/picotool
mkdir build
cd build
cmake ..
make -j
sudo make install

install the 32 bit C++ runtime library, e.g.:

sudo apt install libstdc++6:armhf


Updated 8 Mar 2025, first published 18 Jan 2025