summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/periph_instances.h.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/periph_instances.h.j2 b/templates/periph_instances.h.j2
index ddbff34..0761f5d 100644
--- a/templates/periph_instances.h.j2
+++ b/templates/periph_instances.h.j2
@@ -17,3 +17,7 @@ constexpr {{ instance.type }} {{ instance.name }}{
{% for alias, ref in (aliases.items() if aliases else {}) %}
constexpr auto {{ alias }} = {{ ref }};
{% endfor %}
+
+{% for alias, ref in (type_aliases.items() if type_aliases else {}) %}
+using {{ alias }} = {{ ref }};
+{% endfor %}