mbedtls/scripts/data_files/driver_templates/OS-template-opaque.jinja

11 lines
481 B
Plaintext
Raw Normal View History

{% for driver in drivers if driver.type == "opaque" -%}
{% for capability in driver.capabilities if entry_point in capability.entry_points -%}
#if ({% if capability.depend_on is defined -%}{{ capability.depend_on }} {% else -%} {{ 1 }} {% endif %})
{%- filter indent(width = nest_indent) %}
case {{ driver.location }}:
return({{driver.prefix}}_{{driver.type}}_{{entry_point}}({{entry_point_attributes(driver) | indent(20)}}));
{% endfilter -%}
#endif
{% endfor %}
{% endfor %}