Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
16
#ifndef BOARD_H
17
#define BOARD_H
18
19
#include <stdint.h>
20
21
/* include common board definitions as last step */
22
#include "board_common.h"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
#if !MODULE_ESP_ETH || DOXYGEN
39
#define BTN0_PIN GPIO0
40
46
#define BTN0_MODE GPIO_IN
47
51
#ifndef BTN0_INT_FLANK
52
#define BTN0_INT_FLANK GPIO_FALLING
53
#endif
54
58
#define BUTTON0_PIN BTN0_PIN
60
#endif
/* !MODULE_ESP_ETH || DOXYGEN */
61
66
#define EMAC_PHY_IP101G 1
67
#define EMAC_PHY_ADDRESS 1
68
#define EMAC_PHY_SMI_MDC_PIN 23
69
#define EMAC_PHY_SMI_MDIO_PIN 18
70
#define EMAC_PHY_CLOCK_MODE ETH_CLOCK_GPIO0_IN
71
#define EMAC_PHY_POWER_PIN GPIO5
74
#ifdef __cplusplus
75
}
/* end extern "C" */
76
#endif
77
78
#endif
/* BOARD_H */
Generated on Thu Nov 21 2024 13:52:59 by
1.9.8