net: enable SLIP only on QEMU targets
In many networking tests we had to configure SLIP in the prj.conf leaving those configurations Qemu specific. This change enables SLIP for QEMU targets automatically and allows reuse of prj.conf for multiple boards. Additionally, the TUN options is removed. This option was not used anywhere. To enable self-contained networking tests that do not depend on SLIP, we introduce the new option NET_TEST which disables TAP and allows testing in QEMU without the need for a host interface. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
92c7ef5939
commit
ca0ad13a61
57 changed files with 35 additions and 56 deletions
|
@ -2,7 +2,6 @@ CONFIG_NETWORKING=y
|
|||
CONFIG_NET_UDP=y
|
||||
CONFIG_RANDOM_GENERATOR=y
|
||||
CONFIG_TEST_RANDOM_GENERATOR=y
|
||||
CONFIG_NET_SLIP_TAP=y
|
||||
CONFIG_INIT_STACKS=y
|
||||
CONFIG_NET_PKT_RX_COUNT=4
|
||||
CONFIG_NET_PKT_TX_COUNT=4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue