Loading...
Searching...
No Matches
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
24extern "C" {
25#endif
26
31#define LED0_PIN GPIO5
32#define LED0_ACTIVE (1)
40#if defined(MODULE_PERIPH_SPI) || defined(DOXYGEN)
45#ifndef SPI0_CS0_GPIO
46#define SPI0_CS0_GPIO GPIO16
48#endif
49#endif /* defined(MODULE_PERIPH_SPI) || defined(DOXYGEN) */
52#ifdef __cplusplus
53} /* end extern "C" */
54#endif
55
56/* include common board definitions as last step */
57#include "board_common.h"
58
59#endif /* BOARD_H */