Skip to content

instantiable

Required: No
Type: Map
Condition: No

If present, the component is instantiable. Multiple copies of an instantiable component can be added to the project.

The instantiable map has a single key prefix, which contains the default prefix used to name instances.

The variable {{instance}} can be used in the values of the properties template_contribution, define and config_file to stand in for the instance name.

See the description of how to work with instantiable components for more details.

1
2
3
4
5
6
7
instantiable:
  prefix: interface
config_file:
  - path: path/to/foo_driver_{{instance}}_config.h
template_contribution:
  - name: foo_driver_instances
    value: "{{instance}}"
Back to top