add rtc device driver for nrf52x

Signed-off-by: chenyingchun0312 <chenyingchun0312@163.com>
This commit is contained in:
chenyingchun0312
2020-09-14 01:09:07 +08:00
parent 10a9c12175
commit 02a609e33f
3 changed files with 182 additions and 0 deletions
+3
View File
@@ -32,6 +32,9 @@ if GetDepend(['BSP_USING_PWM']):
if GetDepend(['BSP_USING_WDT']):
src += ['drv_wdt.c']
if GetDepend(['BSP_USING_ONCHIP_RTC']):
src += ['drv_rtc.c']
path = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)