board.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2018 Gunar Schorcht
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
18 #ifndef BOARD_H
19 #define BOARD_H
20 
21 #include <stdint.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
31 #define LED0_PIN GPIO5
32 #define LED0_ACTIVE (1)
40 #if defined(MODULE_PERIPH_SPI) || defined(DOXYGEN)
41 
45 #ifndef SPI0_CS0_GPIO
46 #define SPI0_CS0_GPIO GPIO16
48 #endif
49 #endif /* defined(MODULE_PERIPH_SPI) || defined(DOXYGEN) */
50 
53 #ifdef __cplusplus
54 } /* end extern "C" */
55 #endif
56 
57 /* include common board definitions as last step */
58 #include "board_common.h"
59 
60 #endif /* BOARD_H */
61