diff --git a/bsp/ls1cdev/rtconfig.h b/bsp/ls1cdev/rtconfig.h index 07eed9e2be..168d3a7fda 100644 --- a/bsp/ls1cdev/rtconfig.h +++ b/bsp/ls1cdev/rtconfig.h @@ -179,21 +179,16 @@ #define RT_LWIP_ETHTHREAD_MBOX_SIZE 8 // #define RT_LWIP_ETHTHREAD_STACKSIZE 512 -// -#define RT_LWIP_IPADDR0 192 -#define RT_LWIP_IPADDR1 168 -#define RT_LWIP_IPADDR2 1 -#define RT_LWIP_IPADDR3 254 -// -#define RT_LWIP_GWADDR0 192 -#define RT_LWIP_GWADDR1 168 -#define RT_LWIP_GWADDR2 1 -#define RT_LWIP_GWADDR3 3 -// -#define RT_LWIP_MSKADDR0 255 -#define RT_LWIP_MSKADDR1 255 -#define RT_LWIP_MSKADDR2 255 -#define RT_LWIP_MSKADDR3 0 + +/* ip address of target */ +#define RT_LWIP_IPADDR "192.168.1.254" + +/* gateway address of target */ +#define RT_LWIP_GWADDR "192.168.1.1" + +/* mask address of target */ +#define RT_LWIP_MSKADDR "255.255.255.0" + // //