Skip to content

provides

Required: No
Type: List of features
Condition: Partial (no unless)

Components can provide features to the rest of the project, for other components to depend on.

Provided features can be used by requires/conflicts to describe the dependency graph between components and by condition/unless to selectively include content.

A feature is the exact, case-sensitive string given by the name key.

Key Required Type Description
name Yes String Name of the feature
condition No List of features The feature is provided only if all the given features are present
allow_multiple No Boolean If true, multiple components providing the same feature is not considered a conflict

See the detailed description of features for more information.

1
2
3
4
5
provides:
  - name: uart_driver
  - name: uart_rtos_support
    condition:
      - rtos
Back to top