aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/common/testbuild/board.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-25 13:11:48 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-25 13:11:48 +0000
commit03cab328fc4625af6d8f8519758a80e1bb82c1ad (patch)
tree5777b109c50d8848345e77484e300de55aeb81c6 /testhal/common/testbuild/board.h
parentac598a7b1c4227cbffbbb1af449f2be21e6976a5 (diff)
downloadChibiOS-03cab328fc4625af6d8f8519758a80e1bb82c1ad.tar.gz
ChibiOS-03cab328fc4625af6d8f8519758a80e1bb82c1ad.tar.bz2
ChibiOS-03cab328fc4625af6d8f8519758a80e1bb82c1ad.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5320 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/common/testbuild/board.h')
-rw-r--r--testhal/common/testbuild/board.h44
1 files changed, 44 insertions, 0 deletions
diff --git a/testhal/common/testbuild/board.h b/testhal/common/testbuild/board.h
new file mode 100644
index 000000000..972c66453
--- /dev/null
+++ b/testhal/common/testbuild/board.h
@@ -0,0 +1,44 @@
+/*
+ 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/>.
+*/
+
+#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_ */