aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/board/board.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-04-03 10:58:22 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-04-03 10:58:22 +0000
commite558e86d7401239a9ba369bfac298bdead236ecc (patch)
tree89b103e501add373ec4e430c508c3954384b8130 /os/hal/templates/board/board.h
parent8b133b8c181b0a0a5ba9e1f255c36a3b546c750c (diff)
downloadChibiOS-e558e86d7401239a9ba369bfac298bdead236ecc.tar.gz
ChibiOS-e558e86d7401239a9ba369bfac298bdead236ecc.tar.bz2
ChibiOS-e558e86d7401239a9ba369bfac298bdead236ecc.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9233 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/board/board.h')
-rw-r--r--os/hal/templates/board/board.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/os/hal/templates/board/board.h b/os/hal/templates/board/board.h
new file mode 100644
index 000000000..408cbb918
--- /dev/null
+++ b/os/hal/templates/board/board.h
@@ -0,0 +1,40 @@
+/*
+ ChibiOS - Copyright (C) 2006..2016 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 */