提交 fcdd5d19 编写于 作者: T tangweikang

[components] 添加 RT_USING_ALARM 选项

上级 0876c25a
...@@ -129,22 +129,27 @@ config RT_USING_RTC ...@@ -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" config RT_USING_SOFT_RTC
depends on PKG_NETUTILS_NTP bool "Using software simulation RTC device"
default y 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 if RTC_SYNC_USING_NTP
config RTC_NTP_FIRST_SYNC_DELAY config RTC_NTP_FIRST_SYNC_DELAY
int "NTP first sync delay time(second) for network connect" int "NTP first sync delay time(second) for network connect"
default 30 default 30
config RTC_NTP_SYNC_PERIOD config RTC_NTP_SYNC_PERIOD
int "NTP auto sync period(second)" int "NTP auto sync period(second)"
default 3600 default 3600
endif endif
endif endif
config RT_USING_SDIO config RT_USING_SDIO
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册