diff options
| author | bernard <[email protected]> | 2017-10-29 15:22:18 +0800 |
|---|---|---|
| committer | bernard <[email protected]> | 2017-10-29 15:22:18 +0800 |
| commit | 6469a748b3c6b50e55de3875f20bfe1b5ca8a88e (patch) | |
| tree | 671368324eafb6d9c248f54d06342008f283481b /bsp/ls1cdev | |
| parent | 892bfd71f46fe11b7be50b7978c1744c2a72b7ef (diff) | |
[BSP] remove the old ipaddr settings.
Diffstat (limited to 'bsp/ls1cdev')
| -rw-r--r-- | bsp/ls1cdev/rtconfig.h | 25 |
1 files changed, 10 insertions, 15 deletions
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 // <integer name="RT_LWIP_ETHTHREAD_STACKSIZE" description="the stack size of ethnetif thread" default="512" /> #define RT_LWIP_ETHTHREAD_STACKSIZE 512 -// <ipaddr name="RT_LWIP_IPADDR" description="IP address of device" default="192.168.1.30" /> -#define RT_LWIP_IPADDR0 192 -#define RT_LWIP_IPADDR1 168 -#define RT_LWIP_IPADDR2 1 -#define RT_LWIP_IPADDR3 254 -// <ipaddr name="RT_LWIP_GWADDR" description="Gateway address of device" default="192.168.1.1" /> -#define RT_LWIP_GWADDR0 192 -#define RT_LWIP_GWADDR1 168 -#define RT_LWIP_GWADDR2 1 -#define RT_LWIP_GWADDR3 3 -// <ipaddr name="RT_LWIP_MSKADDR" description="Mask address of device" default="255.255.255.0" /> -#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" + // </section> // <section name="RT_USING_MODULE" description="Application module" default="true" > |
