Pigweed#

Sustained, robust, and rapid embedded product development for large teams


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 (Jul 12, 2024 to Jul 25, 2024):

  • Extensive Bazel support in the Pigweed extension for VS Code: See pw_ide for the full story.

  • Bazel module support: Upstream Pigweed is now usable as a Bazel module dependency.

  • Trapping backend for pw_assert: pw_assert_trap is a new backend for pw_assert that calls __builtin_trap() when an assert is triggered.

  • Crash handling in async pw_system: Crash snapshots can be downloaded from pw_console by calling device.get_crash_snapshots() in the REPL.

See Jul 25, 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 Jul 29, 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.