File tree Expand file tree Collapse file tree 4 files changed +391
-0
lines changed Expand file tree Collapse file tree 4 files changed +391
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ zephyr_library_sources(rtc_utils.c)
9
9
10
10
zephyr_library_sources_ifdef (CONFIG_RTC_RV8263 rtc_rv8263.c )
11
11
zephyr_library_sources_ifdef (CONFIG_RTC_AM1805 rtc_am1805.c )
12
+ zephyr_library_sources_ifdef (CONFIG_RTC_AMBIQ rtc_ambiq.c )
12
13
zephyr_library_sources_ifdef (CONFIG_RTC_DS1307 rtc_ds1307.c )
13
14
zephyr_library_sources_ifdef (CONFIG_USERSPACE rtc_handlers.c )
14
15
zephyr_library_sources_ifdef (CONFIG_RTC_EMUL rtc_emul.c )
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ config RTC_SHELL
42
42
RTC Shell commands
43
43
44
44
source "drivers/rtc/Kconfig.am1805"
45
+ source "drivers/rtc/Kconfig.ambiq"
45
46
source "drivers/rtc/Kconfig.ds1307"
46
47
source "drivers/rtc/Kconfig.emul"
47
48
source "drivers/rtc/Kconfig.fake"
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2024, Ambiq Micro Inc. <www.ambiq.com>
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ config RTC_AMBIQ
5
+ bool "AMBIQ RTC driver"
6
+ default y
7
+ depends on DT_HAS_AMBIQ_RTC_ENABLED
8
+ select AMBIQ_HAL
9
+ help
10
+ Enable the AMBIQ RTC driver.
You can’t perform that action at this time.
0 commit comments