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/.