|
@@ -78,6 +78,25 @@ config RT_USING_RTC
|
|
|
bool "Using RTC device drivers"
|
|
|
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"
|
|
|
+ select PKG_NETUTILS_NTP
|
|
|
+ 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
|
|
|
+ endif
|
|
|
+
|
|
|
config RT_USING_SDIO
|
|
|
bool "Using SD/MMC device drivers"
|
|
|
default n
|