aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gencfg/processors/boards/stm32f4xx/templates
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-08 07:52:10 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-07-08 07:52:10 +0000
commit5f342be96eb860286417b9ad84b861dede2cdd25 (patch)
treef254ab201d4ca0aae4f0d21e39871a6683b78944 /tools/gencfg/processors/boards/stm32f4xx/templates
parent127fe7e427d06d5e61cdf7c5e933a63e5dfd7bfe (diff)
downloadChibiOS-5f342be96eb860286417b9ad84b861dede2cdd25.tar.gz
ChibiOS-5f342be96eb860286417b9ad84b861dede2cdd25.tar.bz2
ChibiOS-5f342be96eb860286417b9ad84b861dede2cdd25.zip
Configuration tool prototype (not complete).
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4427 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'tools/gencfg/processors/boards/stm32f4xx/templates')
-rw-r--r--tools/gencfg/processors/boards/stm32f4xx/templates/board.mk.ftl27
1 files changed, 27 insertions, 0 deletions
diff --git a/tools/gencfg/processors/boards/stm32f4xx/templates/board.mk.ftl b/tools/gencfg/processors/boards/stm32f4xx/templates/board.mk.ftl
new file mode 100644
index 000000000..d221241ed
--- /dev/null
+++ b/tools/gencfg/processors/boards/stm32f4xx/templates/board.mk.ftl
@@ -0,0 +1,27 @@
+[#ftl]
+[#--
+ ChibiOS/RT - Copyright (C) 2006,2007,2008,2009,2010,
+ 2011,2012 Giovanni Di Sirio.
+
+ This file is part of ChibiOS/RT.
+
+ ChibiOS/RT is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 3 of the License, or
+ (at your option) any later version.
+
+ ChibiOS/RT is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+ --]
+[@pp.dropOutputFile /]
+[@pp.changeOutputFile name="boark.mk" /]
+# List of all the board related files.
+BOARDSRC = ${'$'}{CHIBIOS}/boards/${doc1.board.@BoardID[0]}/board.c
+
+# Required include directories
+BOARDINC = ${'$'}{CHIBIOS}/boards/${doc1.board.@BoardID[0]}