summaryrefslogtreecommitdiff
path: root/templates/periph_instances.h.j2
blob: 05c59dfc2478aeafc71516915ca29b1323e9f482 (plain)
1
2
3
4
5
6
7
8
9
10
11
#pragma once

{% for header in headers %}#include "{{ header }}"{% endfor %}

{% for instance in instances %}
constexpr {{ instance.type }} {{ instance.name }}{
    {% for arg in instance.args %}
        {{ arg | hex }},
    {% endfor %}
};
{% endfor %}