summaryrefslogtreecommitdiff
path: root/components/drivers/rtc/Kconfig
blob: 9dcf7cf529baf65f5bce96cb1819173d25c9e437 (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
config RT_USING_RTC
    bool "Using RTC device drivers"
    default n

    if RT_USING_RTC
        config RT_USING_ALARM
            bool "Using RTC alarm"
            default n

        if RT_USING_ALARM
            config RT_ALARM_STACK_SIZE
                int "stack size for alarm thread"
                default 2048

            config RT_ALARM_TIMESLICE
                int "timeslice for alarm thread"
                default 5

            config RT_ALARM_PRIORITY
                int "priority for alarm thread"
                default 10

            config RT_ALARM_USING_LOCAL_TIME
                bool "Using local time for the alarm calculation"
                default n
                depends on RT_USING_ALARM
        endif

        config RT_USING_SOFT_RTC
            bool "Using software simulation RTC device"
            default n
    endif