There are many RP2040 dev boards in the drawer. It is time to use them.

$ brew install picotool
$ picotool version
picotool v1.1.2 (Darwin 23.0.0, AppleClang-15.0.0.15000040, Release)

this is the easiest way to install it. Of course if you like you can build it on your own. Here is the repo of picotool.

Below is the details of installing picotool.

==> Auto-updated Homebrew!
Updated 3 taps (homebrew/bundle, homebrew/core and homebrew/cask).
==> New Formulae
aider               libgedit-gfls       onion-location      tabiew
clangql             libxpresent         oxker               usage
kubehound           mysql-client@8.4    progressline
libassuan@2         mysql@8.4           sq
==> New Casks
find-my-ports                            pearcleaner
meta-quest-developer-hub                 zipic

You have 38 outdated formulae and 1 outdated cask installed.

==> Downloading https://ghcr.io/v2/homebrew/core/picotool/manifests/1.1.2
######################################################################### 100.0%
==> Fetching picotool
==> Downloading https://ghcr.io/v2/homebrew/core/picotool/blobs/sha256:909c31ae5
######################################################################### 100.0%
==> Pouring picotool--1.1.2.arm64_sonoma.bottle.tar.gz
๐Ÿบ  /opt/homebrew/Cellar/picotool/1.1.2: 6 files, 456.4KB
==> Running `brew cleanup picotool`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).