[DeviceDriver][RTC] Add software simulation RTC device.

This commit is contained in:
armink
2018-02-16 12:46:29 +08:00
parent a692cc1549
commit c4f4710b43
2 changed files with 111 additions and 0 deletions
+4
View File
@@ -7,6 +7,8 @@ rtc = ['rtc.c']
rtc_alarm = ['alarm.c']
soft_rtc = ['soft_rtc.c']
CPPPATH = [cwd + '/../include']
group = []
@@ -14,6 +16,8 @@ if GetDepend(['RT_USING_RTC']):
src = src + rtc
if GetDepend(['RT_USING_ALARM']):
src = src + rtc_alarm
if GetDepend(['RT_USING_SOFT_RTC']):
src = src + soft_rtc
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_RTC'], CPPPATH = CPPPATH)