[components] 添加 RT_USING_ALARM 选项

This commit is contained in:
tangweikang 2019-03-14 18:05:31 +08:00
parent 0876c25a4e
commit fcdd5d197f
1 changed files with 20 additions and 15 deletions

View File

@ -129,22 +129,27 @@ config RT_USING_RTC
default n
if RT_USING_RTC
config RT_USING_SOFT_RTC
bool "Using software simulation RTC device"
default n
config RTC_SYNC_USING_NTP
bool "Using NTP auto sync RTC time"
depends on PKG_NETUTILS_NTP
default y
config RT_USING_ALARM
bool "Using RTC alarm"
default n
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
config RT_USING_SOFT_RTC
bool "Using software simulation RTC device"
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 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
config RT_USING_SDIO