From 6c28a6e879b36f945a706c214373d7a3218596ac Mon Sep 17 00:00:00 2001 From: MurphyZhao Date: Wed, 25 Oct 2017 17:00:08 +0800 Subject: [PATCH] Modify the IP & GW & MSK ADDR configure mode as string mode, insted separation mode --- bsp/fh8620/rtconfig.h | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/bsp/fh8620/rtconfig.h b/bsp/fh8620/rtconfig.h index ed31025f93..cefbff053c 100644 --- a/bsp/fh8620/rtconfig.h +++ b/bsp/fh8620/rtconfig.h @@ -182,20 +182,11 @@ // #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 30 +#define RT_LWIP_IPADDR "192.168.1.30" // -#define RT_LWIP_GWADDR0 192 -#define RT_LWIP_GWADDR1 168 -#define RT_LWIP_GWADDR2 1 -#define RT_LWIP_GWADDR3 1 +#define RT_LWIP_GWADDR "192.168.1.1" // -#define RT_LWIP_MSKADDR0 255 -#define RT_LWIP_MSKADDR1 255 -#define RT_LWIP_MSKADDR2 255 -#define RT_LWIP_MSKADDR3 0 +#define RT_LWIP_MSKADDR "255.255.255.0" // // -- GitLab