First off, thank you for considering contributing to LabWired! It's people like you that make LabWired such a great tool.
- Use the Bug Report template.
- Describe the exact steps to reproduce the issue.
- Include your
system.yamland the firmware version if applicable.
- Use the Feature Request template.
- Explain why this enhancement would be useful to most LabWired users.
- We love new hardware support!
- Check out our Peripheral Modeling Guide.
- Ensure you include unit tests for new peripherals.
- Use the New Peripheral PR template.
- Run
cargo fmtbefore committing. - Ensure
cargo clippypasses without warnings. - Write clear, concise commit messages.
Install local hooks so CI failures (format/lint/test) are caught before push:
cd core
./scripts/install-hooks.shInstalled hooks:
pre-commit:cargo fmt --check,cargo clippy --all-targets -D warnings,cargo check(host workspace)pre-push:cargo fmt --check,cargo clippy --all-targets -D warnings,cargo test(host workspace)
- Create a branch from
main. - Ensure the
core-integritystatus check passes (formatting, linting, workspace tests). - If you touch board models, configs, or examples, the relevant Smoke Tests and Coverage Matrix checks will trigger automatically. Ensure they pass if triggered.
- Update relevant documentation.
- Your PR will be reviewed by the maintainers.
By contributing, you agree that your contributions will be licensed under the MIT License.