mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-07 19:04:34 +08:00
Merge pull request #2451 from balanceTWK/rtt_master
[components] 添加 RT_USING_ALARM 选项
This commit is contained in:
commit
38ffaf806c
@ -129,22 +129,27 @@ config RT_USING_RTC
|
|||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_RTC
|
if RT_USING_RTC
|
||||||
config RT_USING_SOFT_RTC
|
config RT_USING_ALARM
|
||||||
bool "Using software simulation RTC device"
|
bool "Using RTC alarm"
|
||||||
default n
|
default n
|
||||||
config RTC_SYNC_USING_NTP
|
|
||||||
bool "Using NTP auto sync RTC time"
|
|
||||||
depends on PKG_NETUTILS_NTP
|
|
||||||
default y
|
|
||||||
|
|
||||||
if RTC_SYNC_USING_NTP
|
config RT_USING_SOFT_RTC
|
||||||
config RTC_NTP_FIRST_SYNC_DELAY
|
bool "Using software simulation RTC device"
|
||||||
int "NTP first sync delay time(second) for network connect"
|
default n
|
||||||
default 30
|
|
||||||
config RTC_NTP_SYNC_PERIOD
|
config RTC_SYNC_USING_NTP
|
||||||
int "NTP auto sync period(second)"
|
bool "Using NTP auto sync RTC time"
|
||||||
default 3600
|
depends on PKG_NETUTILS_NTP
|
||||||
endif
|
default y
|
||||||
|
|
||||||
|
if RTC_SYNC_USING_NTP
|
||||||
|
config RTC_NTP_FIRST_SYNC_DELAY
|
||||||
|
int "NTP first sync delay time(second) for network connect"
|
||||||
|
default 30
|
||||||
|
config RTC_NTP_SYNC_PERIOD
|
||||||
|
int "NTP auto sync period(second)"
|
||||||
|
default 3600
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
config RT_USING_SDIO
|
config RT_USING_SDIO
|
||||||
|
Loading…
x
Reference in New Issue
Block a user