mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Add link to documentation page inside main_full() of the SAM4E demo.
This commit is contained in:
parent
0cbd5182a3
commit
c2bfac68b3
|
@ -63,36 +63,6 @@ extern "C" {
|
||||||
/** MAC PHY operation max retry count */
|
/** MAC PHY operation max retry count */
|
||||||
#define MAC_PHY_RETRY_MAX 1000000
|
#define MAC_PHY_RETRY_MAX 1000000
|
||||||
|
|
||||||
/** MAC address definition. The MAC address must be unique on the network. */
|
|
||||||
#define ETHERNET_CONF_ETHADDR0 0x00
|
|
||||||
#define ETHERNET_CONF_ETHADDR1 0x04
|
|
||||||
#define ETHERNET_CONF_ETHADDR2 0x25
|
|
||||||
#define ETHERNET_CONF_ETHADDR3 0x1C
|
|
||||||
#define ETHERNET_CONF_ETHADDR4 0xA0
|
|
||||||
#define ETHERNET_CONF_ETHADDR5 0x02
|
|
||||||
|
|
||||||
/** WAN Address: 192.168.0.2 */
|
|
||||||
|
|
||||||
/* The IP address being used. */
|
|
||||||
#define ETHERNET_CONF_IPADDR0 192
|
|
||||||
#define ETHERNET_CONF_IPADDR1 168
|
|
||||||
#define ETHERNET_CONF_IPADDR2 0
|
|
||||||
#define ETHERNET_CONF_IPADDR3 2
|
|
||||||
|
|
||||||
/** WAN gateway: 192.168.0.250 */
|
|
||||||
|
|
||||||
/*! The gateway address being used. */
|
|
||||||
#define ETHERNET_CONF_GATEWAY_ADDR0 192
|
|
||||||
#define ETHERNET_CONF_GATEWAY_ADDR1 168
|
|
||||||
#define ETHERNET_CONF_GATEWAY_ADDR2 0
|
|
||||||
#define ETHERNET_CONF_GATEWAY_ADDR3 250
|
|
||||||
|
|
||||||
/** The network mask being used. */
|
|
||||||
#define ETHERNET_CONF_NET_MASK0 255
|
|
||||||
#define ETHERNET_CONF_NET_MASK1 255
|
|
||||||
#define ETHERNET_CONF_NET_MASK2 255
|
|
||||||
#define ETHERNET_CONF_NET_MASK3 0
|
|
||||||
|
|
||||||
/** Ethernet MII/RMII mode */
|
/** Ethernet MII/RMII mode */
|
||||||
#define ETH_PHY_MODE GMAC_PHY_MII
|
#define ETH_PHY_MODE GMAC_PHY_MII
|
||||||
|
|
||||||
|
|
|
@ -245,6 +245,8 @@ int main_full( void )
|
||||||
{
|
{
|
||||||
xTimerHandle xTimer = NULL;
|
xTimerHandle xTimer = NULL;
|
||||||
|
|
||||||
|
/* Usage instructions on http://www.FreeRTOS.org/Atmel_SAM4E_RTOS_Demo.html */
|
||||||
|
|
||||||
/* Initialise the LCD and output a bitmap. The IP address will also be
|
/* Initialise the LCD and output a bitmap. The IP address will also be
|
||||||
displayed on the LCD when it has been obtained. */
|
displayed on the LCD when it has been obtained. */
|
||||||
vInitialiseLCD();
|
vInitialiseLCD();
|
||||||
|
|
Loading…
Reference in a new issue