summaryrefslogtreecommitdiff
path: root/components/libc/compilers/common/Kconfig
blob: dad2e2e2ff706a0a889a6b1c0b6c6e426e84c171 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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