commit | c1e0bee4e3ec707b1c1d8094da0077179f49712f | [log] [tgz] |
---|---|---|
author | Yuval Peress <peress@google.com> | Thu Apr 11 22:55:09 2024 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 11 22:55:09 2024 +0000 |
tree | b122ccfe0e277e00618d89167c0867ae562a1384 | |
parent | 4a9b1e019b19eb4fa669100c4af332dbee7aacf5 [diff] |
pw_sensor: Provide a validator Add a validator for a common sensor descriptor. The validator currently only checks for dependencies (which define channels), a compatible object (to describe the part ID), and a set of channels which are supported. A following CL will introduce attributes. Bug: b/293466822 Change-Id: I6b26c229285713b55f5318314e57cf80b3e4e865 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/202912 Reviewed-by: Taylor Cramer <cramertj@google.com> Commit-Queue: Yuval Peress <peress@google.com>
Pigweed is an open source collection of embedded-targeted libraries–or as we like to call them, modules. These modules are building blocks and infrastructure that enable faster and more reliable development on small-footprint MMU-less 32-bit microcontrollers like the STMicroelectronics STM32L452 or the Nordic nRF52832.
For more information please see our website: https://pigweed.dev/.