aboutsummaryrefslogtreecommitdiff
path: root/lib/chibios/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/portab.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chibios/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/portab.h')
-rw-r--r--lib/chibios/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/portab.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/lib/chibios/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/portab.h b/lib/chibios/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/portab.h
new file mode 100644
index 000000000..fb19d83f8
--- /dev/null
+++ b/lib/chibios/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg/stm32f769_discovery/portab.h
@@ -0,0 +1,72 @@
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/**
18 * @file portab.h
19 * @brief Application portability macros and structures.
20 *
21 * @addtogroup application_portability
22 * @{
23 */
24
25#ifndef PORTAB_H
26#define PORTAB_H
27
28/*===========================================================================*/
29/* Module constants. */
30/*===========================================================================*/
31
32#define PORTAB_USB1 USBD2
33
34#define PORTAB_SDU1 SDU2
35
36#define PORTAB_BLINK_LED1 LINE_ARD_D13
37
38/*===========================================================================*/
39/* Module pre-compile time settings. */
40/*===========================================================================*/
41
42/*===========================================================================*/
43/* Derived constants and error checks. */
44/*===========================================================================*/
45
46/*===========================================================================*/
47/* Module data structures and types. */
48/*===========================================================================*/
49
50/*===========================================================================*/
51/* Module macros. */
52/*===========================================================================*/
53
54/*===========================================================================*/
55/* External declarations. */
56/*===========================================================================*/
57
58#ifdef __cplusplus
59extern "C" {
60#endif
61 void portab_setup(void);
62#ifdef __cplusplus
63}
64#endif
65
66/*===========================================================================*/
67/* Module inline functions. */
68/*===========================================================================*/
69
70#endif /* PORTAB_H */
71
72/** @} */