Fixes: #38403 Adding NET_DRIVERS menuconfig so that network drivers are grouped together in its own menu entry under drivers, similar to most other drivers. This further has the advantages that `CONFIG_NET_DRIVERS` can be used for testing to determine if network drivers has been selected. This changed revealed a dependency loop where both `select` (for SLIP) and `depends` (for PPP) which both depends on NET_DRIVERS` where in use in the dependency tree for Qemu networking, especially NET_SLIP_TAP. This is handled by defaulting `NET_DRIVERS` to `y` when building for a Qemu target. `SLIP` had a dependency to `!QEMU_TARGET || NET_QEMU_SLIP`. This is changed so that SLIP prompt depends on `!QEMU_TARGET` which provides full user control in hardware but makes the symbol promptless on Qemu targets. Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
37 lines
724 B
Plaintext
37 lines
724 B
Plaintext
# UART support
|
|
CONFIG_SERIAL=y
|
|
|
|
# GSM modem support
|
|
CONFIG_MODEM=y
|
|
CONFIG_MODEM_GSM_PPP=y
|
|
|
|
# PPP networking support
|
|
CONFIG_NET_DRIVERS=y
|
|
CONFIG_NET_PPP=y
|
|
CONFIG_NET_L2_PPP=y
|
|
CONFIG_NET_NATIVE=y
|
|
CONFIG_NETWORKING=y
|
|
|
|
CONFIG_NET_L2_PPP_TIMEOUT=10000
|
|
|
|
# IPv4 enables PPP IPCP support
|
|
CONFIG_NET_IPV4=y
|
|
CONFIG_NET_IPV6=n
|
|
|
|
# Network management events
|
|
CONFIG_NET_CONNECTION_MANAGER=y
|
|
|
|
# Log buffers, modem and PPP
|
|
CONFIG_LOG=y
|
|
CONFIG_NET_LOG=y
|
|
#CONFIG_LOG_BUFFER_SIZE=16384
|
|
#CONFIG_LOG_STRDUP_BUF_COUNT=200
|
|
#CONFIG_MODEM_LOG_LEVEL_DBG=y
|
|
#CONFIG_NET_PPP_LOG_LEVEL_DBG=y
|
|
#CONFIG_NET_L2_PPP_LOG_LEVEL_DBG=y
|
|
#CONFIG_NET_MGMT_EVENT_LOG_LEVEL_DBG=y
|
|
#CONFIG_NET_CONNECTION_MANAGER_LOG_LEVEL_DBG=y
|
|
|
|
CONFIG_NET_SHELL=y
|
|
CONFIG_MODEM_SHELL=y
|