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
9#pragma once
10
19
20#include <stdint.h>
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
30#define LED0_PIN GPIO5
31#define LED0_ACTIVE (1)
32
34
39#if defined(MODULE_PERIPH_SPI) || defined(DOXYGEN)
44#ifndef SPI0_CS0_GPIO
45#define SPI0_CS0_GPIO GPIO16
47#endif
48#endif /* defined(MODULE_PERIPH_SPI) || defined(DOXYGEN) */
50
51#ifdef __cplusplus
52} /* end extern "C" */
53#endif
54
55/* include common board definitions as last step */
56#include "board_common.h"
57