aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios-contrib/demos/LPC/LPC_11U35_USBDFU/board/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios-contrib/demos/LPC/LPC_11U35_USBDFU/board/board.h')
-rw-r--r--lib/chibios-contrib/demos/LPC/LPC_11U35_USBDFU/board/board.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/lib/chibios-contrib/demos/LPC/LPC_11U35_USBDFU/board/board.h b/lib/chibios-contrib/demos/LPC/LPC_11U35_USBDFU/board/board.h
new file mode 100644
index 000000000..cecc8e0a0
--- /dev/null
+++ b/lib/chibios-contrib/demos/LPC/LPC_11U35_USBDFU/board/board.h
@@ -0,0 +1,60 @@
1#pragma once
2/*
3 ChibiOS - Copyright (C) 2006..2020 Giovanni Di Sirio
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16*/
17
18/*
19 * This file has been automatically generated using ChibiStudio board
20 * generator plugin. Do not edit manually.
21 */
22
23#ifndef BOARD_H
24#define BOARD_H
25
26/*===========================================================================*/
27/* Driver constants. */
28/*===========================================================================*/
29
30/*
31 * Setup for mTrain board.
32 */
33
34/*
35 * Board identifier.
36 */
37#define BOARD_KEMOVE_SNOWFOX
38#define BOARD_NAME "Kemove Snowfox"
39
40#ifndef LPC11U35
41#define LPC11U35
42#endif
43
44#define LINE_USBCONN PAL_LINE(IOPORT0, 6)
45#define LINE_USBVBUS PAL_LINE(IOPORT0, 3)
46/*===========================================================================*/
47/* External declarations. */
48/*===========================================================================*/
49
50#if !defined(_FROM_ASM_)
51#ifdef __cplusplus
52extern "C" {
53#endif
54 void boardInit(void);
55#ifdef __cplusplus
56}
57#endif
58#endif /* _FROM_ASM_ */
59
60#endif /* BOARD_H */