This file contains the possible external configuration of the Ethernet module.
Definition in file conf_eth.h.
#include "lwipopts.h"
Go to the source code of this file.
| #define DNS_SERVER_NAME "yourdnsdomain.com" |
Definition at line 132 of file conf_eth.h.
| #define ETHERNET_CONF_AN_ENABLE 1 |
Use Auto Negociation to get speed and duplex
Definition at line 76 of file conf_eth.h.
| #define ETHERNET_CONF_AUTO_CROSS_ENABLE 1 |
Use auto cross capability. Used by default.
Definition at line 79 of file conf_eth.h.
| #define ETHERNET_CONF_CROSSED_LINK 0 |
Use direct cable. Ignored when ETHERNET_CONF_AN_ENABLE and ETHERNET_CONF_AUTO_CROSS_ENABLE are enabled.
Definition at line 82 of file conf_eth.h.
| #define ETHERNET_CONF_ETHADDR0 0x00 |
MAC address definition. The MAC address must be unique on the network.
Definition at line 87 of file conf_eth.h.
Referenced by low_level_init(), and prvEthernetConfigureInterface().
| #define ETHERNET_CONF_ETHADDR1 0x04 |
Definition at line 88 of file conf_eth.h.
Referenced by low_level_init(), and prvEthernetConfigureInterface().
| #define ETHERNET_CONF_ETHADDR2 0x25 |
Definition at line 89 of file conf_eth.h.
Referenced by low_level_init(), and prvEthernetConfigureInterface().
| #define ETHERNET_CONF_ETHADDR3 0x40 |
Definition at line 90 of file conf_eth.h.
Referenced by low_level_init(), and prvEthernetConfigureInterface().
| #define ETHERNET_CONF_ETHADDR4 0x40 |
Definition at line 91 of file conf_eth.h.
Referenced by low_level_init(), and prvEthernetConfigureInterface().
| #define ETHERNET_CONF_ETHADDR5 0x40 |
Definition at line 92 of file conf_eth.h.
Referenced by low_level_init(), and prvEthernetConfigureInterface().
| #define ETHERNET_CONF_GATEWAY_ADDR0 192 |
The gateway address being used.
Definition at line 108 of file conf_eth.h.
Referenced by prvEthernetConfigureInterface().
| #define ETHERNET_CONF_GATEWAY_ADDR1 168 |
| #define ETHERNET_CONF_GATEWAY_ADDR2 0 |
| #define ETHERNET_CONF_GATEWAY_ADDR3 1 |
| #define ETHERNET_CONF_IPADDR0 192 |
The IP address being used.
Definition at line 102 of file conf_eth.h.
Referenced by prvEthernetConfigureInterface().
| #define ETHERNET_CONF_IPADDR1 168 |
| #define ETHERNET_CONF_IPADDR2 0 |
| #define ETHERNET_CONF_IPADDR3 2 |
| #define ETHERNET_CONF_NB_RX_BUFFERS 24 |
Number of receive buffers. Max ethernet frame size is 1526. A Rx buffer is 128 Bytes long. So 12 Rx buffers are necessary to store one max sized frame. Multiply that by 2 for performance.
Definition at line 60 of file conf_eth.h.
| #define ETHERNET_CONF_NB_TX_BUFFERS 10 |
Number of Transmit buffers
Definition at line 67 of file conf_eth.h.
| #define ETHERNET_CONF_NET_MASK0 255 |
The network mask being used.
Definition at line 114 of file conf_eth.h.
Referenced by prvEthernetConfigureInterface().
| #define ETHERNET_CONF_NET_MASK1 255 |
| #define ETHERNET_CONF_NET_MASK2 255 |
| #define ETHERNET_CONF_NET_MASK3 0 |
| #define ETHERNET_CONF_PHY_ADDR 0x01 |
Phy Address (set through strap options)
Definition at line 54 of file conf_eth.h.
| #define ETHERNET_CONF_PHY_ID 0x20005C90 |
Definition at line 55 of file conf_eth.h.
| #define ETHERNET_CONF_SYSTEM_CLOCK 48000000 |
Clock definition
Definition at line 73 of file conf_eth.h.
| #define ETHERNET_CONF_TX_BUFFER_SIZE 512 |
Size of each Transmit buffer.
Definition at line 70 of file conf_eth.h.
| #define ETHERNET_CONF_USE_RMII_INTERFACE 1 |
USE_RMII_INTERFACE must be defined as 1 to use an RMII interface, or 0 to use an MII interface.
Definition at line 64 of file conf_eth.h.
| #define SSL_SERVER_NAME "192.168.0.1" |
Definition at line 128 of file conf_eth.h.
| #define SSL_SERVER_PORT 4433 |
SSL SERVER configuration.
Definition at line 120 of file conf_eth.h.
1.5.5