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
42#ifndef BOARD_H
43#define BOARD_H
44
45#include <stdint.h>
46
51#define LED0_PIN GPIO5
52#define LED0_ACTIVE (0) /* LED is low active */
62#if MODULE_SDCARD_SPI
63#define SDCARD_SPI_PARAM_SPI SPI_DEV(0)
64#define SDCARD_SPI_PARAM_CLK SPI0_SCK
65#define SDCARD_SPI_PARAM_MOSI SPI0_MOSI
66#define SDCARD_SPI_PARAM_MISO SPI0_MISO
67#define SDCARD_SPI_PARAM_CS SPI0_CS1
68#define SDCARD_SPI_PARAM_POWER GPIO_UNDEF
69#endif
72/* include common board definitions as last step */
73#include "board_common.h"
74
75#ifdef __cplusplus
76extern "C" {
77#endif
78
79#ifdef __cplusplus
80} /* end extern "C" */
81#endif
82
83#endif /* BOARD_H */