CONFIG_NET_CONFIG_SNTP_INIT_SERVER

SNTP server to use for system clock init

Type: string

Help

Zephyr does not provide default setting for this option. Each application and vendor should choose a suitable setting based on their locality, needs, and server’s terms of service. See e.g. server information at https://support.ntp.org/bin/view/Servers/NTPPoolServers

Direct dependencies

NET_CONFIG_CLOCK_SNTP_INIT && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • “”

Kconfig definition

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

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:82subsys/net/lib/Kconfig:26

Menu path: (Top) → Networking → Link layer and IP networking support → Network Libraries → Initialize system clock using SNTP on application startup

config NET_CONFIG_SNTP_INIT_SERVER
    string "SNTP server to use for system clock init"
    default ""
    depends on NET_CONFIG_CLOCK_SNTP_INIT && NETWORKING
    help
      Zephyr does not provide default setting for this option. Each
      application and vendor should choose a suitable setting based
      on their locality, needs, and server's terms of service. See
      e.g. server information at
      https://support.ntp.org/bin/view/Servers/NTPPoolServers

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