adapt rtc driver for hc32f4a0

This commit is contained in:
wuzheng
2023-02-02 18:01:24 +08:00
parent b2de31844a
commit d2e6719a0e
9 changed files with 271 additions and 1 deletions
@@ -53,3 +53,11 @@ menuconfig BSP_USING_USB
if BSP_USING_USB
source "$BSP_DIR/third_party_driver/usb/Kconfig"
endif
menuconfig BSP_USING_RTC
bool "Using RTC device"
default n
select RESOURCES_RTC
if BSP_USING_RTC
source "$BSP_DIR/third_party_driver/rtc/Kconfig"
endif