暂存
This commit is contained in:
@ -4,6 +4,7 @@
|
||||
#include "wizchip_conf.h"
|
||||
#include "wiz_interface.h"
|
||||
#include "loopback.h"
|
||||
#include "main.h"
|
||||
|
||||
/*wizchip->STM32 Hardware Pin define*/
|
||||
// wizchip_SCS ---> STM32_GPIOD7
|
||||
@ -16,12 +17,16 @@
|
||||
/* Define network information */
|
||||
wiz_NetInfo default_net_info = {
|
||||
.mac = {0x00, 0x08, 0xdc, 0x12, 0x22, 0x12},
|
||||
.ip = {192, 168, 6, 212},
|
||||
#if TEST_A701
|
||||
.ip = {192, 168, 6, 7},
|
||||
.gw = {192, 168, 6, 1},
|
||||
#else
|
||||
.ip = {192, 168, 0, 5},
|
||||
.gw = {192, 168, 0, 1},
|
||||
#endif
|
||||
.sn = {255, 255, 255, 0},
|
||||
.dns = {8, 8, 8, 8},
|
||||
.dhcp = NETINFO_STATIC
|
||||
//.dhcp = NETINFO_STATIC //static ip
|
||||
};
|
||||
uint16_t local_port = 8000;
|
||||
uint8_t ethernet_buf[ETHERNET_BUF_MAX_SIZE] = {0};
|
||||
|
||||
Reference in New Issue
Block a user