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 (Apr 19, 2024 to May 1, 2024):

  • Thread kickoff via pw::Function: Revamped the Thread API to use pw::Function. The original Thread API was created before pw::Function was stable; this change modernizes and increases usability of the Thread API.

  • Thread creation SEED: Creating threads in Pigweed is difficult due to our strict adherence to portability. We’re considering creating an additional API that is more usable but less portable than the current approach.

  • Transfer: Adaptive windowing got a Java implementation, and improvements to adaptive windowing in C++.

  • Bluetooth: Initial CLs towards a Bluetooth proxy.

See May 1, 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 May 20, 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.