mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 09:38:24 +00:00
[components][rtc] Add RTC framework V2.0 to simplify RTC registration process
This commit is contained in:
@@ -13,7 +13,7 @@ CPPPATH = [cwd + '/../include']
|
||||
group = []
|
||||
|
||||
if GetDepend(['RT_USING_RTC']):
|
||||
src = src + rtc
|
||||
src = src + ['rtc.c', 'rtc_core.c']
|
||||
if GetDepend(['RT_USING_ALARM']):
|
||||
src = src + rtc_alarm
|
||||
if GetDepend(['RT_USING_SOFT_RTC']):
|
||||
@@ -21,4 +21,4 @@ if GetDepend(['RT_USING_RTC']):
|
||||
|
||||
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_RTC'], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
Return('group')
|
||||
|
||||
Reference in New Issue
Block a user