summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorJerome Forissier <[email protected]>2025-06-25 15:19:19 +0200
committerJerome Forissier <[email protected]>2025-07-08 11:07:37 +0200
commita2a0c7527eb86e69bc7a78d9250eb5a1068ae5b7 (patch)
tree8bad02b896f50468d1a4fe1010a95aef29d68ce9 /cmd/Kconfig
parent77f0bed326b658fcb57f278bd5228afbe382401a (diff)
lwip: add sntp command
Implement the sntp command when NET_LWIP=y. Signed-off-by: Jerome Forissier <[email protected]>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 1ba3cfcb28a..ca7ed58c062 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -2074,12 +2074,6 @@ config CMD_CDP
and to retrieve configuration data including the VLAN id using the
proprietary Cisco Discovery Protocol (CDP).
-config CMD_SNTP
- bool "sntp"
- select PROT_UDP
- help
- Synchronize RTC via network
-
config CMD_LINK_LOCAL
bool "linklocal"
depends on (LIB_RAND || LIB_HW_RAND)
@@ -2157,6 +2151,13 @@ config CMD_PING
help
Send ICMP ECHO_REQUEST to network host
+config CMD_SNTP
+ bool "sntp"
+ select PROT_UDP if NET
+ select PROT_UDP_LWIP if NET_LWIP
+ help
+ Synchronize RTC via network
+
config CMD_TFTPBOOT
bool "tftp"
select PROT_UDP_LWIP if NET_LWIP