board.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2018 Gunar Schorcht
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
17 #include <stdint.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
27 #define LED0_PIN GPIO5
28 #define LED0_ACTIVE (1)
36 #if defined(MODULE_PERIPH_SPI) || defined(DOXYGEN)
41 #ifndef SPI0_CS0_GPIO
42 #define SPI0_CS0_GPIO GPIO16
44 #endif
45 #endif /* defined(MODULE_PERIPH_SPI) || defined(DOXYGEN) */
48 #ifdef __cplusplus
49 } /* end extern "C" */
50 #endif
51 
52 /* include common board definitions as last step */
53 #include "board_common.h"
54