Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
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
44
#include <stdint.h>
45
50
#define LED0_PIN GPIO5
51
#define LED0_ACTIVE (0)
/* LED is low active */
61
#if MODULE_SDCARD_SPI
62
#define SDCARD_SPI_PARAM_SPI SPI_DEV(0)
63
#define SDCARD_SPI_PARAM_CLK SPI0_SCK
64
#define SDCARD_SPI_PARAM_MOSI SPI0_MOSI
65
#define SDCARD_SPI_PARAM_MISO SPI0_MISO
66
#define SDCARD_SPI_PARAM_CS SPI0_CS1
67
#define SDCARD_SPI_PARAM_POWER GPIO_UNDEF
68
#endif
71
/* include common board definitions as last step */
72
#include "board_common.h"
73
74
#ifdef __cplusplus
75
extern
"C"
{
76
#endif
77
78
#ifdef __cplusplus
79
}
/* end extern "C" */
80
#endif
81
Generated on Fri Jun 20 2025 21:02:35 by
1.9.1