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
* Copyright (C) 2020 Google LLC
4
*
5
* This file is subject to the terms and conditions of the GNU Lesser
6
* General Public License v2.1. See the file LICENSE in the top level
7
* directory for more details.
8
*/
9
10
#pragma once
11
18
#include <stdint.h>
19
20
/* include common board definitions as last step */
21
#include "board_common.h"
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
27
#if !MODULE_ESP_ETH || DOXYGEN
38
#define BTN0_PIN GPIO0
39
45
#define BTN0_MODE GPIO_IN
46
50
#ifndef BTN0_INT_FLANK
51
#define BTN0_INT_FLANK GPIO_FALLING
52
#endif
53
57
#define BUTTON0_PIN BTN0_PIN
59
#endif
/* !MODULE_ESP_ETH || DOXYGEN */
60
65
#define EMAC_PHY_IP101G 1
66
#define EMAC_PHY_ADDRESS 1
67
#define EMAC_PHY_SMI_MDC_PIN 23
68
#define EMAC_PHY_SMI_MDIO_PIN 18
69
#define EMAC_PHY_CLOCK_MODE ETH_CLOCK_GPIO0_IN
70
#define EMAC_PHY_POWER_PIN GPIO5
73
#ifdef __cplusplus
74
}
/* end extern "C" */
75
#endif
76
Generated on Sat Jun 28 2025 19:41:32 by
1.9.1