mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[bsp][cvitek] add rtc driver (#8586)
This commit is contained in:
1 parent
c3416c5868
commit
5d70f98e4d
3 files changed
+337
No files matched your search
@@ -86,4 +86,9 @@ menu "General Drivers Configuration"
|
||||
bool "Enable PWM 3"
|
||||
default n
|
||||
endif
|
||||
|
||||
config BSP_USING_RTC
|
||||
bool "Enable RTC"
|
||||
select RT_USING_RTC
|
||||
default n
|
||||
endmenu
|
||||
@@ -26,6 +26,9 @@ if GetDepend('BSP_USING_PWM'):
|
||||
CPPPATH += [cwd + r'/cv1800b/pwm']
|
||||
CPPDEFINES += ['-DCONFIG_64BIT']
|
||||
|
||||
if GetDepend('BSP_USING_RTC'):
|
||||
src += ['drv_rtc.c']
|
||||
|
||||
group = DefineGroup('drivers', src, depend = [''], CPPDEFINES = CPPDEFINES, CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user