tree: 10585d61c246933807d30ff9aee3feb5b966c8b6 [path history] [tgz]
  1. binh.py
  2. BUILD.bazel
  3. data_locs.cpp
  4. defs.bzl
  5. jsonh.py
  6. mbedtls.BUILD
  7. README.md
bazel/README.md

Prerequisites

You'll need Bazel (v7.0.0 or higher) or Bazelisk (a self-updating Bazel launcher) to build the Pico SDK.

We strongly recommend you set up Bazelisk.

Linux

Use your favorite package tool to install dependencies. For example, on Ubuntu:

sudo apt install build-essential libudev-dev

On Linux you can add udev rules in order to run picotool without sudo:

sudo cp udev/99-picotool.rules /etc/udev/rules.d/

macOS

To build on macOS, you'll need to ensure Xcode is installed.

xcode-select --install

Windows

To build on Windows, you must install Visual Studio for Desktop Development With C++.

Building picotool

From the root of the picotool repository, run Bazel with the following command:

bazelisk build //:picotool

Running picotool

To run picotool, run the binary built by Bazel:

./bazel-bin/picotool