diff options
Diffstat (limited to 'lib/chibios/os/hal/templates/board/board.h')
-rw-r--r-- | lib/chibios/os/hal/templates/board/board.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lib/chibios/os/hal/templates/board/board.h b/lib/chibios/os/hal/templates/board/board.h new file mode 100644 index 000000000..9aeba7c8f --- /dev/null +++ b/lib/chibios/os/hal/templates/board/board.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* | ||
2 | ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio | ||
3 | |||
4 | Licensed under the Apache License, Version 2.0 (the "License"); | ||
5 | you may not use this file except in compliance with the License. | ||
6 | You may obtain a copy of the License at | ||
7 | |||
8 | http://www.apache.org/licenses/LICENSE-2.0 | ||
9 | |||
10 | Unless required by applicable law or agreed to in writing, software | ||
11 | distributed under the License is distributed on an "AS IS" BASIS, | ||
12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
13 | See the License for the specific language governing permissions and | ||
14 | limitations under the License. | ||
15 | */ | ||
16 | |||
17 | #ifndef BOARD_H | ||
18 | #define BOARD_H | ||
19 | |||
20 | /* | ||
21 | * Setup for a generic board. | ||
22 | */ | ||
23 | |||
24 | /* | ||
25 | * Board identifier. | ||
26 | */ | ||
27 | #define BOARD_GENERIC | ||
28 | #define BOARD_NAME "Generic Board" | ||
29 | |||
30 | #if !defined(_FROM_ASM_) | ||
31 | #ifdef __cplusplus | ||
32 | extern "C" { | ||
33 | #endif | ||
34 | void boardInit(void); | ||
35 | #ifdef __cplusplus | ||
36 | } | ||
37 | #endif | ||
38 | #endif /* _FROM_ASM_ */ | ||
39 | |||
40 | #endif /* BOARD_H */ | ||