Skip to content

Commit cda61d2

Browse files
jukkargalak
authored andcommitted
samples: net: dhcpv4: Add net-shell and e1000 driver support
The dhcpv4-client is more usable if it has net-shell. For testing with qemu_x86, the e1000 overlay config is very useful. Signed-off-by: Jukka Rissanen <[email protected]>
1 parent 5a7fd0e commit cda61d2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
CONFIG_NET_L2_ETHERNET=y
2+
CONFIG_NET_QEMU_ETHERNET=y
3+
4+
CONFIG_ETH_E1000=y
5+
6+
CONFIG_PCI_ENUMERATION=y
7+
CONFIG_PCI=y
8+
9+
#CONFIG_ETHERNET_LOG_LEVEL_DBG=y

samples/net/dhcpv4_client/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ CONFIG_NET_LOG=y
1616
CONFIG_LOG=y
1717

1818
CONFIG_SLIP_STATISTICS=n
19+
CONFIG_NET_SHELL=y

0 commit comments

Comments
 (0)