diff options
author | Fabien Poussin <fabien.poussin@gmail.com> | 2019-09-19 19:46:06 +0200 |
---|---|---|
committer | Fabien Poussin <fabien.poussin@gmail.com> | 2019-09-19 19:47:15 +0200 |
commit | 8f7c2d187bbb02915f44b926c7aa02185402aef7 (patch) | |
tree | f387a976a938f8a9765f1593f3270d6773242dbc /tools/templates | |
parent | 6736a9099b184ba3fed01fb36e915d86ffa4f0da (diff) | |
download | ChibiOS-Contrib-8f7c2d187bbb02915f44b926c7aa02185402aef7.tar.gz ChibiOS-Contrib-8f7c2d187bbb02915f44b926c7aa02185402aef7.tar.bz2 ChibiOS-Contrib-8f7c2d187bbb02915f44b926c7aa02185402aef7.zip |
Adding support for STM32L4 in mx2board
Diffstat (limited to 'tools/templates')
-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 |