diff options
author | Diego Ismirlian <dismirlian@gmail.com> | 2019-09-29 10:25:16 -0300 |
---|---|---|
committer | Diego Ismirlian <dismirlian@gmail.com> | 2019-09-29 10:25:16 -0300 |
commit | 8db69eb38c86b7078e4d1ab055704e11a47bb573 (patch) | |
tree | a15f18fd2218ff2de07b4b82351ef4ed6c3e0ad3 /tools/templates/board_gpio.tpl | |
parent | 7b2c61a676e024163057ec5ccc508a29ab3b9ed4 (diff) | |
parent | 8f7c2d187bbb02915f44b926c7aa02185402aef7 (diff) | |
download | ChibiOS-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.tpl | 15 |
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 |