Kconfig.projbuild 672 B

1234567891011121314151617181920212223
  1. menu "Example Configuration"
  2. config SNTP_TIME_SERVER
  3. string "SNTP server name"
  4. default "pool.ntp.org"
  5. help
  6. Hostname of the main SNTP server.
  7. choice SNTP_TIME_SYNC_METHOD
  8. prompt "Time synchronization method"
  9. default SNTP_TIME_SYNC_METHOD_IMMED
  10. help
  11. Time synchronization method.
  12. config SNTP_TIME_SYNC_METHOD_IMMED
  13. bool "update time immediately when received"
  14. config SNTP_TIME_SYNC_METHOD_SMOOTH
  15. bool "update time with smooth method (adjtime)"
  16. config SNTP_TIME_SYNC_METHOD_CUSTOM
  17. bool "custom implementation"
  18. endchoice
  19. endmenu