CONFIG_NET_CONFIG_AUTO_INIT

Init networking support automatically during device startup

Type: bool

Help

If this option is set, then the networking system is automatically initialized when the device is started. If you do not wish to do this, then disable this and call net_config_init() in your application.

Direct dependencies

NETWORKING

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At <Zephyr>/subsys/net/lib/config/Kconfig:6

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:89<Zephyr>/subsys/net/lib/Kconfig:28

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries

config NET_CONFIG_AUTO_INIT
    bool "Init networking support automatically during device startup"
    default n if USB_DEVICE_NETWORK
    default y
    depends on NETWORKING
    help
      If this option is set, then the networking system is automatically
      initialized when the device is started. If you do not wish to do
      this, then disable this and call net_config_init() in your application.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)