From 386b1216a74f362b87c5d9e7bdb342a715b453c1 Mon Sep 17 00:00:00 2001 From: Peter McGoron Date: Thu, 6 Apr 2023 19:28:19 -0400 Subject: [PATCH] set static ip --- software/prj.conf | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/software/prj.conf b/software/prj.conf index 138e1ba..f1b78eb 100644 --- a/software/prj.conf +++ b/software/prj.conf @@ -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