periph
is continuously tested on macOS.
A good starter device is the FTDI ones.
Some drivers in periph.io/x/host/v3 requires
cgo
:
xcode-select -install
brew install pkg-config
Optionally install homebrew without root with the following steps:
mkdir -p ~/homebrew
curl -sL https://github.com/Homebrew/brew/tarball/3.1.9 | tar xz --strip 1 -C ~/homebrew
export PATH="$PATH:$HOME/homebrew/bin"
echo 'export PATH="$PATH:$HOME/homebrew/bin"' >> ~/.bash_profile
brew upgrade