1# SPDX-License-Identifier: Apache-2.0
2#
3# Copyright (c) 2023 Antmicro <www.antmicro.com>
4
5config AMBIQ_HAL
6	bool "Ambiq HAL drivers support"
7	depends on SOC_SERIES_APOLLO4X || SOC_SERIES_APOLLO3X
8	help
9	  Use the Ambiq HAL
10
11if AMBIQ_HAL
12
13config AMBIQ_HAL_USE_ADC
14	bool
15	help
16	  Use the ADC driver from Ambiq HAL
17
18config AMBIQ_HAL_USE_GPIO
19	bool
20	help
21	  Use the GPIO driver from Ambiq HAL
22
23config AMBIQ_HAL_USE_STIMER
24	bool
25	help
26	  Use the STIMER driver from Ambiq HAL
27
28config AMBIQ_HAL_USE_TIMER
29	bool
30	help
31	  Use the TIMER driver from Ambiq HAL
32
33config AMBIQ_HAL_USE_WDT
34	bool
35	help
36	  Use the WDT driver from Ambiq HAL
37
38config AMBIQ_HAL_USE_I2C
39	bool
40	help
41	  Use the I2C driver from Ambiq HAL
42
43config AMBIQ_HAL_USE_SPIC
44	bool
45	help
46	  Use the SPI Controller driver from Ambiq HAL
47
48config AMBIQ_HAL_USE_SPID
49	bool
50	help
51	  Use the SPI Device driver from Ambiq HAL
52
53config AMBIQ_HAL_USE_MSPI
54	bool
55	help
56	  Use the MSPI driver from Ambiq HAL
57
58config AMBIQ_HAL_USE_HWINFO
59	bool
60	help
61	  Use the HWINFO driver from Ambiq HAL
62
63config AMBIQ_HAL_USE_BLEIF
64	bool
65	help
66	  Use the BLEIF driver from Ambiq HAL
67
68config AMBIQ_HAL_USE_ADC
69	bool
70	help
71	  Use the ADC driver from Ambiq HAL
72
73config AMBIQ_HAL_USE_USB
74	bool
75	help
76	  Use the USB driver from Ambiq HAL
77
78endif # AMBIQ_HAL
79