Loading...
Searching...
No Matches
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
40
41#include <stdint.h>
42
47#define LED0_PIN GPIO5
48#define LED0_ACTIVE (0) /* LED is low active */
50
58#if MODULE_SDCARD_SPI
59#define SDCARD_SPI_PARAM_SPI SPI_DEV(0)
60#define SDCARD_SPI_PARAM_CLK SPI0_SCK
61#define SDCARD_SPI_PARAM_MOSI SPI0_MOSI
62#define SDCARD_SPI_PARAM_MISO SPI0_MISO
63#define SDCARD_SPI_PARAM_CS SPI0_CS1
64#define SDCARD_SPI_PARAM_POWER GPIO_UNDEF
65#endif
67
68/* include common board definitions as last step */
69#include "board_common.h"
70
71#ifdef __cplusplus
72extern "C" {
73#endif
74
75#ifdef __cplusplus
76} /* end extern "C" */
77#endif
78