From: Jakub NejedlĂ˝ Date: Mon, 19 Aug 2019 12:05:55 +0000 (+0200) Subject: Static IP configuration X-Git-Url: http://rtime.felk.cvut.cz/gitweb/pes-rpp/rpp-lib.git/commitdiff_plain/e155be0eb1675a3878e634e2580b37c136249165?ds=sidebyside Static IP configuration Values workcing on Ciirc network configured to IP 10.35.95.25 Mask 255.255.255.0 GW 10.35.95.1 --- diff --git a/rpp/include/rpp/eth.h b/rpp/include/rpp/eth.h index d38b6f2..c43d46b 100644 --- a/rpp/include/rpp/eth.h +++ b/rpp/include/rpp/eth.h @@ -26,8 +26,9 @@ #if STATIC_IP_ADDRESS /** * When static IP is configured in lwipopts.h, this IP address is used for interface. + * Static IP address is working only at Ciirc. Also mask and GW havo to be changet to work in different network. */ -#define RPP_IP_ADDR 0xC0A8F701 /* 192.168.247.1 IP4_ADDR(rppip, 192,168,0,10); */ +#define RPP_IP_ADDR 0x0A235F19 /* 10.35.95.25 IP4_ADDR(rppip, 10,35,95,25); */ /** * When static IP is configured in lwipopts.h, this NETMASK address is used for interface. */ @@ -35,7 +36,7 @@ /** * When static IP is configured in lwipopts.h, this Gateway address is used for interface. */ -#define RPP_GW 0xC0A8F7FE /* 192.168.247.254 IP4_ADDR(rppgw, 192,168,0,254); */ +#define RPP_GW 0x0A235F01 /* 10.35.95.1 IP4_ADDR(rppgw, 10,35,95,1); */ #endif /**