Kconfig 949 B

1234567891011121314151617181920212223242526272829303132
  1. menu "ISO-ANSI C layer"
  2. menu "Timezone and Daylight Saving Time"
  3. config RT_LIBC_USING_FULL_TZ_DST
  4. bool "Enable fully version timezone and daylight saving time with database"
  5. select PKG_USING_TZ_DATABASE # select timezone database software package
  6. default n
  7. config RT_LIBC_USING_LIGHT_TZ_DST
  8. bool "Enable lightweight timezone and daylight saving time"
  9. depends on !RT_LIBC_USING_FULL_TZ_DST
  10. default y
  11. if RT_LIBC_USING_LIGHT_TZ_DST
  12. config RT_LIBC_TZ_DEFAULT_HOUR
  13. int "Set the default local timezone (hour)"
  14. range -12 12
  15. default 8
  16. config RT_LIBC_TZ_DEFAULT_MIN
  17. int "Set the default local timezone (minute)"
  18. range -59 59
  19. default 0
  20. config RT_LIBC_TZ_DEFAULT_SEC
  21. int "Set the default local timezone (second)"
  22. range -59 59
  23. default 0
  24. endif
  25. endmenu
  26. endmenu