git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4452 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
4002c66734
commit
7f7cf9e8a8
|
@ -1,5 +1,5 @@
|
||||||
sourceRoot: templates
|
sourceRoot: templates
|
||||||
outputRoot: output
|
outputRoot: output
|
||||||
data: {
|
data: {
|
||||||
doc1: xml(../datamodel/stm32f4board.xml)
|
doc1: xml(../input/stm32f4board.xml)
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,30 @@
|
||||||
|
[#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 /]
|
||||||
|
[#import "/@lib/libutils.ftl" as utils /]
|
||||||
|
[#import "/@lib/liblicense.ftl" as license /]
|
||||||
|
[@pp.changeOutputFile name=doc1.configuration.@name[0] + ".c" /]
|
||||||
|
/*
|
||||||
|
[@license.EmitLicenseAsText /]
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "ch.h"
|
||||||
|
#include "hal.h"
|
|
@ -0,0 +1,40 @@
|
||||||
|
[#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 /]
|
||||||
|
[#import "/@lib/libutils.ftl" as utils /]
|
||||||
|
[#import "/@lib/liblicense.ftl" as license /]
|
||||||
|
[@pp.changeOutputFile name=doc1.configuration.@name[0] + ".h" /]
|
||||||
|
/*
|
||||||
|
[@license.EmitLicenseAsText /]
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _x_H_
|
||||||
|
#define _x_H_
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
extern "C" {
|
||||||
|
#endif
|
||||||
|
void boardInit(void);
|
||||||
|
#ifdef __cplusplus
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif /* _x_H_ */
|
Loading…
Reference in New Issue