Setup#

The quickest way to get started using Pigweed with Zephyr is to follow the step-by-step Zephyr quickstart.

Starter repository#

You can also check out the zephyr_pigweed repository for an example of a Zephyr starter project that has been set up to use Pigweed.

To configure individual Pigweed modules and backend features, see docs-os-zephyr-kconfig.

Testing#

To run tests against Zephyr, first go through the zephyr_pigweed tutorial. Once set up, activate the Pigweed environment and invoke west twister:

$ source ${PW_ROOT}/activate.sh
$ west twister -T ${PW_ROOT}

Attention

Testing has only been verified with the -p native_posix platform. Use caution on other platforms.