2023-06-19 20:11:17 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
# Copyright (c) 2023 Antmicro <www.antmicro.com>
|
|
|
|
|
|
|
|
config AMBIQ_HAL
|
|
|
|
bool "Ambiq HAL drivers support"
|
2023-12-13 15:30:00 +08:00
|
|
|
depends on SOC_SERIES_APOLLO4X || SOC_SERIES_APOLLO3X
|
2023-06-19 20:11:17 +08:00
|
|
|
help
|
|
|
|
Use the Ambiq HAL
|
|
|
|
|
|
|
|
if AMBIQ_HAL
|
|
|
|
|
2024-08-23 01:44:48 +08:00
|
|
|
config AMBIQ_HAL_USE_ADC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the ADC driver from Ambiq HAL
|
|
|
|
|
2023-06-19 20:11:17 +08:00
|
|
|
config AMBIQ_HAL_USE_GPIO
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the GPIO driver from Ambiq HAL
|
|
|
|
|
|
|
|
config AMBIQ_HAL_USE_STIMER
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the STIMER driver from Ambiq HAL
|
|
|
|
|
2023-08-04 20:47:07 +08:00
|
|
|
config AMBIQ_HAL_USE_TIMER
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the TIMER driver from Ambiq HAL
|
|
|
|
|
2023-08-11 19:57:38 +08:00
|
|
|
config AMBIQ_HAL_USE_WDT
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the WDT driver from Ambiq HAL
|
|
|
|
|
2023-06-29 20:26:18 +08:00
|
|
|
config AMBIQ_HAL_USE_I2C
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the I2C driver from Ambiq HAL
|
|
|
|
|
2024-08-02 17:01:41 +08:00
|
|
|
config AMBIQ_HAL_USE_SPIC
|
2023-07-05 18:59:25 +08:00
|
|
|
bool
|
|
|
|
help
|
2024-08-02 17:01:41 +08:00
|
|
|
Use the SPI Controller driver from Ambiq HAL
|
|
|
|
|
|
|
|
config AMBIQ_HAL_USE_SPID
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the SPI Device driver from Ambiq HAL
|
2023-07-05 18:59:25 +08:00
|
|
|
|
2023-08-30 18:34:56 +08:00
|
|
|
config AMBIQ_HAL_USE_MSPI
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the MSPI driver from Ambiq HAL
|
|
|
|
|
2024-05-10 02:38:10 +08:00
|
|
|
config AMBIQ_HAL_USE_HWINFO
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the HWINFO driver from Ambiq HAL
|
|
|
|
|
2024-05-16 16:27:51 +08:00
|
|
|
config AMBIQ_HAL_USE_BLEIF
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the BLEIF driver from Ambiq HAL
|
|
|
|
|
2024-08-12 18:11:09 +08:00
|
|
|
config AMBIQ_HAL_USE_ADC
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the ADC driver from Ambiq HAL
|
|
|
|
|
2024-09-19 10:08:37 +08:00
|
|
|
config AMBIQ_HAL_USE_USB
|
|
|
|
bool
|
|
|
|
help
|
|
|
|
Use the USB driver from Ambiq HAL
|
|
|
|
|
2023-06-19 20:11:17 +08:00
|
|
|
endif # AMBIQ_HAL
|