Skip to content

Commit aa87e93

Browse files
committed
samples: ocpp: add native_sim configuration
Disable DHCPv4 and use static network configuration for native_sim board Signed-off-by: Muhammad Waleed Badar <walid.badar@gmail.com>
1 parent 303127b commit aa87e93

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Network address config
2+
CONFIG_NET_DHCPV4=n
3+
CONFIG_NET_CONFIG_SETTINGS=y
4+
CONFIG_NET_CONFIG_NEED_IPV4=y
5+
CONFIG_NET_CONFIG_MY_IPV4_ADDR="192.0.2.1"
6+
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="192.0.2.2"
7+
CONFIG_NET_CONFIG_MY_IPV4_GW="192.0.2.2"

0 commit comments

Comments
 (0)