Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensor: codegen #81748

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Conversation

yperess
Copy link
Collaborator

@yperess yperess commented Nov 22, 2024

Initial work in providing common sensor metadata that will affect how sensor drivers are created, used, and documented. Currently supported features include:

  • Statically available attribute, channel, and trigger information along with APIs similar to devicetree used to access them
  • Sensor catalog documentation similar to the board catalog
  • Coalescing of custom sensor attributes/channels/triggers to avoid collisions

note: This description is incomplete, more details will be added shortly.

Without these version requirements, existing older sphinx
installations satisfy the requirement but fail to build.

Signed-off-by: Yuval Peress <[email protected]>
Add the Pigweed python dependency used to generate the sensor catalog

Signed-off-by: Yuval Peress <[email protected]>
Add the Pigweed python dependency used to generate sensor headers

Signed-off-by: Yuval Peress <[email protected]>
Allow users to generate their own sensor libraries from downstream
sensor YAML descriptors.

Signed-off-by: Yuval Peress <[email protected]>
Signed-off-by: Al Semjonovs <[email protected]>
Add code generation for the sensor attribute, channel, and trigger
enums. Included in this is the ability to query the sensor's
information statically using the compatible string similar to how
devicetree does it.

Signed-off-by: Yuval Peress <[email protected]>
Add documentation pages (both generated and non) to the rendered docs

Signed-off-by: Yuval Peress <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant