set static ip

This commit is contained in:
Peter McGoron 2023-04-06 19:28:19 -04:00
parent 9ff5576623
commit 386b1216a7
1 changed files with 8 additions and 2 deletions

View File

@ -9,8 +9,14 @@ CONFIG_NET_IPV6=n
CONFIG_NET_TCP=y
CONFIG_NET_SOCKETS=y
CONFIG_NET_ARP=y
CONFIG_NET_UDP=y
CONFIG_NET_DHCPV4=y
CONFIG_NET_UDP=n
# Ethernet config. Change me for your setup!
CONFIG_NET_DHCPV4=n
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.168.1.50"
CONFIG_NET_CONFIG_MY_IPV4_GW="192.168.1.1"
CONFIG_NET_CONFIG_MY_IPV4_NETMASK="255.255.255.0"
CONFIG_NET_TCP_ISN_RFC6528=n
CONFIG_INIT_STACKS=y