board_common.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2015 TriaGnoSys GmbH
3  * 2017 Alexander Kurth, Sören Tempel, Tristan Bruns
4  *
5  * This file is subject to the terms and conditions of the GNU Lesser
6  * General Public License v2.1. See the file LICENSE in the top level
7  * directory for more details.
8  */
9 
24 #ifndef BOARD_COMMON_H
25 #define BOARD_COMMON_H
26 
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30 
35 #ifndef LED0_PORT_NUM
36 #define LED0_PORT GPIO_PORT_C
37 #define LED0_PORT_NUM PORT_C
38 #endif
39 #ifndef LED0_PIN_NUM
40 #define LED0_PIN_NUM (13)
41 #endif
42 #ifndef LED0_IS_INVERTED
43 #define LED0_IS_INVERTED 1
44 #endif
50 #define STDIO_UART_DEV UART_DEV(0)
51 
56 #define XTIMER_WIDTH (16)
57 #define XTIMER_BACKOFF (19)
60 #ifdef __cplusplus
61 }
62 #endif
63 
64 #include "stm32_leds.h"
65 
66 #endif /* BOARD_COMMON_H */
Common LED macros.