diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-07 14:31:16 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-07 14:31:16 +0000 |
commit | a56487ecb91b086f35b637916cd05d33432eefc6 (patch) | |
tree | a302bc867b91602676f7c2d6ec53a674770cfe41 /test/hal/testbuild/board.h | |
parent | aa431f4c1029cb75e70368b83b8af2803a186b35 (diff) | |
download | ChibiOS-a56487ecb91b086f35b637916cd05d33432eefc6.tar.gz ChibiOS-a56487ecb91b086f35b637916cd05d33432eefc6.tar.bz2 ChibiOS-a56487ecb91b086f35b637916cd05d33432eefc6.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7732 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/hal/testbuild/board.h')
-rw-r--r-- | test/hal/testbuild/board.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/test/hal/testbuild/board.h b/test/hal/testbuild/board.h new file mode 100644 index 000000000..ea16572fe --- /dev/null +++ b/test/hal/testbuild/board.h @@ -0,0 +1,40 @@ +/*
+ ChibiOS - Copyright (C) 2006..2015 Giovanni Di Sirio
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
+
+#ifndef _BOARD_H_
+#define _BOARD_H_
+
+/*
+ * Setup for a generic board.
+ */
+
+/*
+ * Board identifier.
+ */
+#define BOARD_GENERIC
+#define BOARD_NAME "Generic Board"
+
+#if !defined(_FROM_ASM_)
+#ifdef __cplusplus
+extern "C" {
+#endif
+ void boardInit(void);
+#ifdef __cplusplus
+}
+#endif
+#endif /* _FROM_ASM_ */
+
+#endif /* _BOARD_H_ */
|