zephyr/modules/hal_ambiq/Kconfig.hal
Swift Tian 681bc1aa82 modules: hal_ambiq: fix cmake warning when no BLE
Added CONFIG_AMBIQ_COMPONENT_USE_BT and CONFIG_SOC_AMBIQ_BT_SUPPORTED
to fix empty zephyr_library() warning when BLE is not needed for compile.
Added CMake message if BT related Ambiq specific Kconfig is overriden for
not supported SoC.

Signed-off-by: Swift Tian <swift.tian@ambiq.com>
2025-03-07 19:45:40 +01:00

115 lines
1.8 KiB
Plaintext

# SPDX-License-Identifier: Apache-2.0
#
# Copyright (c) 2023 Antmicro <www.antmicro.com>
# Copyright (c) 2025, Ambiq Micro Inc. <www.ambiq.com>
config AMBIQ_HAL
bool "Ambiq HAL drivers support"
depends on SOC_SERIES_APOLLO3X || SOC_SERIES_APOLLO4X
help
Use the Ambiq HAL
if AMBIQ_HAL
config AMBIQ_HAL_USE_ADC
bool
help
Use the ADC driver from Ambiq HAL
config AMBIQ_HAL_USE_ITM
bool
help
Use the ITM HAL from Ambiq
config AMBIQ_HAL_USE_TPIU
bool
help
Use the TPIU HAL from Ambiq
config AMBIQ_HAL_USE_DCU
bool
help
Use the DCU HAL from Ambiq
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
config AMBIQ_HAL_USE_TIMER
bool
help
Use the TIMER driver from Ambiq HAL
config AMBIQ_HAL_USE_WDT
bool
help
Use the WDT driver from Ambiq HAL
config AMBIQ_HAL_USE_I2C
bool
help
Use the I2C driver from Ambiq HAL
config AMBIQ_HAL_USE_SPIC
bool
help
Use the SPI Controller driver from Ambiq HAL
config AMBIQ_HAL_USE_SPID
bool
help
Use the SPI Device driver from Ambiq HAL
config AMBIQ_HAL_USE_MSPI
bool
help
Use the MSPI driver from Ambiq HAL
config AMBIQ_HAL_USE_HWINFO
bool
help
Use the HWINFO driver from Ambiq HAL
config AMBIQ_HAL_USE_BLEIF
bool
help
Use the BLEIF driver from Ambiq HAL
config AMBIQ_HAL_USE_ADC
bool
help
Use the ADC driver from Ambiq HAL
config AMBIQ_HAL_USE_USB
bool
help
Use the USB driver from Ambiq HAL
config AMBIQ_HAL_USE_SDIO
bool
help
Use the SDIO driver from Ambiq HAL
config AMBIQ_HAL_USE_ADC
bool
help
Use the ADC driver from Ambiq HAL
config AMBIQ_HAL_USE_DSI
bool
help
Use the DSI driver from Ambiq HAL
config AMBIQ_HAL_USE_USB
bool
help
Use the USB driver from Ambiq HAL
endif # AMBIQ_HAL