Thank you for your interest in contributing to the OpenPRoT project!
Before you begin, please review our Development Process for details on our RFC process for large changes and our standard requirements for pull requests.
- Use of OpenPRoT requires no CLA.
- Contributions to OpenPRoT must have signed the CHIPS CLA.
The code of conduct can be found here.
- Clone the repository.
- Use the Pigweed workflow launcher
pworbazelfor common tasks:./pw presubmit- Run presubmit checks: formatting, license checks, C/C++ header checks, andclippy../pw format- Run the code formatters../pw ci- Build and run the host test suite../pw default- Build everything buildable on a dev host without running tests.bazel build //docs- Build documentation.
Firmware builds are driven per target platform. See the target's defs.bzl
for the Bazel flags and constraints used when building firmware for it.
- Follow the coding style guide.
- Run
./pw presubmitto check for lints and ensure all tests pass.
- Update documentation in the
docs/directory. - Build docs with
bazel build //docs. - Documentation is built with mdbook.
Please report issues on the GitHub issue tracker.