summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-03-14 20:20:58 +0800
committerGitHub <[email protected]>2019-03-14 20:20:58 +0800
commit38ffaf806c6e00042918631671372d00c10ee7e3 (patch)
tree7faf6aa7658726b78a87f1e094673de10b0c8990 /components
parent0876c25a4e224a7c291af2e7d7590ffd3da8b05d (diff)
parentfcdd5d197fa052a30e82f4b4f870fe3b5ba18b2b (diff)
Merge pull request #2451 from balanceTWK/rtt_master
[components] 添加 RT_USING_ALARM 选项
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/drivers/Kconfig35
1 files changed, 20 insertions, 15 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 137402489a..4975f575fa 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -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
+
+ 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
+ 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