aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mx2board.py
diff options
context:
space:
mode:
authorFabien Poussin <fabien.poussin@gmail.com>2018-03-14 17:56:15 +0100
committerFabien Poussin <fabien.poussin@gmail.com>2018-03-14 17:56:15 +0100
commit1bfe2ef9f7f39d93174b1f62ac4b079aac2dea59 (patch)
tree76871a8a365496711a0c9e9661466000605b10d0 /tools/mx2board.py
parentecbe54cab7f0f3debf79c0fab10ccfbdf4d7d416 (diff)
downloadChibiOS-Contrib-1bfe2ef9f7f39d93174b1f62ac4b079aac2dea59.tar.gz
ChibiOS-Contrib-1bfe2ef9f7f39d93174b1f62ac4b079aac2dea59.tar.bz2
ChibiOS-Contrib-1bfe2ef9f7f39d93174b1f62ac4b079aac2dea59.zip
Adding script to update various config files automaticaly.
Diffstat (limited to 'tools/mx2board.py')
-rw-r--r--tools/mx2board.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mx2board.py b/tools/mx2board.py
index ea0b010..642a934 100644
--- a/tools/mx2board.py
+++ b/tools/mx2board.py
@@ -332,7 +332,7 @@ if __name__ == '__main__':
defines = gen_defines(proj)
ports = gen_ports(gpio, proj)
- with open(cur_path + '/board_gpio.tpl', 'r') as tpl_file:
+ with open(cur_path + '/templates/board_gpio.tpl', 'r') as tpl_file:
tpl = tpl_file.read()
template = Template(tpl)