Pigweed#

Modern software development for embedded systems


Get started

Create a new project, integrate Pigweed into an existing project, browse example apps, or contribute to upstream Pigweed

What is Pigweed?#


Libraries

Over 150 libraries (“modules”) enabling you to use modern C++ and software development best practices without compromising performance, code size, or memory

Automation

Easier automated building, testing, and linting for Bazel, GN, and CMake projects

Environments

Hermetic and replicable development environments for your entire team - no more struggling with toolchains and “it worked on my machine”

Frameworks

Turnkey solutions for new projects that want to make full use of everything that Pigweed offers

Who’s using Pigweed?#

Pigweed has shipped on millions of devices.

Showcase: pw_console#

pw_console is our multi-purpose, pluggable REPL and log viewer. It’s designed to be a complete development and manufacturing solution for interacting with hardware devices via pw_rpc over a pw_hdlc transport. Gone are the days of hacking together a REPL and log viewer for each new project!

Using pw_console to interact with a device

Using pw_console to interact with a device#

What’s new in Pigweed#

Highlights (Mar 7, 2024 to Mar 21, 2024):

  • Pigweed’s minimum supported Python version was changed to 3.10.

  • Setting the new pw_build_TEST_TRANSITIVE_PYTHON_DEPS flag to false in your project’s .gn file turns off testing and linting of transitive dependencies in pw_python_package rules, which can speed up build times significantly.

  • The new pw_log_android module is a pw_log backend for Android and the new pw_build_android module provides tools to help build Pigweed in Android platform applications.

  • 0120: Sensor Configuration introduces pw_sensor, a module that will handle Pigweed’s upcoming sensor framework.

  • The new PW_LOG_EVERY_N and PW_LOG_EVERY_N_DURATION macros provide rate-limited logging.

See Mar 22, 2024 in our changelog for details.

Talk to us#


Chat room

For real-time discussion with the Pigweed team, head over to our Discord.

Monthly community meeting

Our next Pigweed Live is Mon Apr 08, 2024 1PM (PDT). Please join us to discuss what’s new in Pigweed and anything else Pigweed-related.

Issues

Found a bug? Got a feature request? Please create a new issue in our tracker.