Skip to content

requires

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

Projects can require features to encode their dependencies. Through the project dependency resolution process, all requirements stated by components present in the project as well as the project itself must be resolved. A requirement is considered resolved if the feature is provided by any component present in the project.

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 requirement is only considered if all the given features are present

See the detailed description of features for more information.

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