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>
17 lines
483 B
Plaintext
17 lines
483 B
Plaintext
CONFIG_NET_DRIVERS=y
|
|
CONFIG_NET_PPP=y
|
|
CONFIG_NET_L2_PPP=y
|
|
CONFIG_NET_STATISTICS_PPP=y
|
|
CONFIG_NET_STATISTICS_USER_API=y
|
|
|
|
# Wait milliseconds before starting ppp handshakes
|
|
CONFIG_NET_L2_PPP_DELAY_STARTUP_MS=5000
|
|
|
|
# Debug options in order to see the sent and received packets
|
|
#CONFIG_NET_PPP_LOG_LEVEL_DBG=y
|
|
#CONFIG_NET_L2_PPP_LOG_LEVEL_DBG=y
|
|
#CONFIG_UART_CONSOLE_LOG_LEVEL_DBG=y
|
|
|
|
# Set the serial connection device if needed (default is UART_1)
|
|
#CONFIG_UART_PIPE_ON_DEV_NAME="UART_1"
|