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

  • y

Kconfig definition

At subsys/net/lib/config/Kconfig:9

Included via Kconfig:10Kconfig.zephyr:44subsys/Kconfig:24subsys/net/Kconfig:85subsys/net/lib/Kconfig:27

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

config NET_CONFIG_AUTO_INIT
    bool "Init networking support automatically during device startup"
    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.)