]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/commitdiff
Set STATIC_IP_ADDRESS to 1
authorJakub <nejedjak@fel.cvut.cz>
Sun, 1 Sep 2019 18:40:29 +0000 (20:40 +0200)
committerJakub <nejedjak@fel.cvut.cz>
Sun, 1 Sep 2019 18:40:29 +0000 (20:40 +0200)
The RPP dont support DHCP to use dynamical address.
Comments of define is updated to reflect actual status.

src/include/arch/lwipopts.h

index a2b4f6bd36398678e548e8a544fcd183af5fe4cb..acc59d04d966b86ced864fb7b07d9c6b24708014 100644 (file)
 **                           CONFIGURATIONS
 *****************************************************************************/
 /*
-** If Static IP address to be used, give it here. This value shall be 0 if
-** dynamic IP address is to be used.
-** For Example, for IP Address 192.168.247.1, use the corresponding hex
-** value 0xC0A8F701.
+** If Static IP address to be used, give here 1. IP address is used from RPP_IP_ADDR
+** in eth.h file. This value shall be 0 if dynamic IP address is to be used.
+**
 */
-#define STATIC_IP_ADDRESS               0
+#define STATIC_IP_ADDRESS               1
 
 /*****************************************************************************
 **            lwIP SPECIFIC DEFINITIONS - To be used by lwIP stack