git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4453 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
7f7cf9e8a8
commit
30a6900056
|
@ -21,7 +21,8 @@
|
|||
[@pp.dropOutputFile /]
|
||||
[#import "/@lib/libutils.ftl" as utils /]
|
||||
[#import "/@lib/liblicense.ftl" as license /]
|
||||
[@pp.changeOutputFile name=doc1.configuration.@name[0] + ".c" /]
|
||||
[#assign fname = doc1.configuration.@name[0] /]
|
||||
[@pp.changeOutputFile name = fname + ".c" /]
|
||||
/*
|
||||
[@license.EmitLicenseAsText /]
|
||||
*/
|
||||
|
|
|
@ -21,20 +21,21 @@
|
|||
[@pp.dropOutputFile /]
|
||||
[#import "/@lib/libutils.ftl" as utils /]
|
||||
[#import "/@lib/liblicense.ftl" as license /]
|
||||
[@pp.changeOutputFile name=doc1.configuration.@name[0] + ".h" /]
|
||||
[#assign fname = doc1.configuration.@name[0] /]
|
||||
[@pp.changeOutputFile name = fname + ".h" /]
|
||||
/*
|
||||
[@license.EmitLicenseAsText /]
|
||||
*/
|
||||
|
||||
#ifndef _x_H_
|
||||
#define _x_H_
|
||||
#ifndef _${fname?upper_case}_H_
|
||||
#define _${fname?upper_case}_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
void boardInit(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* _x_H_ */
|
||||
#endif /* _${fname?upper_case}_H_ */
|
||||
|
|
Loading…
Reference in New Issue