first
This commit is contained in:
32
rt-thread/components/libc/compilers/common/Kconfig
Normal file
32
rt-thread/components/libc/compilers/common/Kconfig
Normal file
@@ -0,0 +1,32 @@
|
||||
menu "ISO-ANSI C layer"
|
||||
|
||||
menu "Timezone and Daylight Saving Time"
|
||||
config RT_LIBC_USING_FULL_TZ_DST
|
||||
bool "Enable fully version timezone and daylight saving time with database"
|
||||
select PKG_USING_TZ_DATABASE # select timezone database software package
|
||||
default n
|
||||
|
||||
config RT_LIBC_USING_LIGHT_TZ_DST
|
||||
bool "Enable lightweight timezone and daylight saving time"
|
||||
depends on !RT_LIBC_USING_FULL_TZ_DST
|
||||
default y
|
||||
|
||||
if RT_LIBC_USING_LIGHT_TZ_DST
|
||||
config RT_LIBC_TZ_DEFAULT_HOUR
|
||||
int "Set the default local timezone (hour)"
|
||||
range -12 12
|
||||
default 8
|
||||
|
||||
config RT_LIBC_TZ_DEFAULT_MIN
|
||||
int "Set the default local timezone (minute)"
|
||||
range -59 59
|
||||
default 0
|
||||
|
||||
config RT_LIBC_TZ_DEFAULT_SEC
|
||||
int "Set the default local timezone (second)"
|
||||
range -59 59
|
||||
default 0
|
||||
endif
|
||||
endmenu
|
||||
|
||||
endmenu
|
Reference in New Issue
Block a user