aboutsummaryrefslogtreecommitdiffstats
path: root/tools/templates/board_gpio.tpl
diff options
context:
space:
mode:
authorDiego Ismirlian <dismirlian@gmail.com>2019-09-29 10:25:16 -0300
committerDiego Ismirlian <dismirlian@gmail.com>2019-09-29 10:25:16 -0300
commit8db69eb38c86b7078e4d1ab055704e11a47bb573 (patch)
treea15f18fd2218ff2de07b4b82351ef4ed6c3e0ad3 /tools/templates/board_gpio.tpl
parent7b2c61a676e024163057ec5ccc508a29ab3b9ed4 (diff)
parent8f7c2d187bbb02915f44b926c7aa02185402aef7 (diff)
downloadChibiOS-Contrib-8db69eb38c86b7078e4d1ab055704e11a47bb573.tar.gz
ChibiOS-Contrib-8db69eb38c86b7078e4d1ab055704e11a47bb573.tar.bz2
ChibiOS-Contrib-8db69eb38c86b7078e4d1ab055704e11a47bb573.zip
Merge branch 'master' of https://github.com/ChibiOS/ChibiOS-Contrib
Diffstat (limited to 'tools/templates/board_gpio.tpl')
-rw-r--r--tools/templates/board_gpio.tpl15
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/templates/board_gpio.tpl b/tools/templates/board_gpio.tpl
index 07a316d..1e770f1 100644
--- a/tools/templates/board_gpio.tpl
+++ b/tools/templates/board_gpio.tpl
@@ -50,6 +50,19 @@
{{ i }} | \
{%- endfor %}
0)
+{% if ascr_lockr %}
+#define VAL_GPIO{{p}}_ASCR ( \
+ {%- for i in v.ASCR %}
+ {{ i }} | \
+ {%- endfor %}
+ 0)
+
+#define VAL_GPIO{{p}}_LOCKR ( \
+ {%- for i in v.LOCKR %}
+ {{ i }} | \
+ {%- endfor %}
+ 0)
+{% endif %}
{% endfor %}
-#endif \ No newline at end of file
+#endif