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>
This commit is contained in:
Swift Tian 2025-01-07 17:40:44 +08:00 committed by Carles Cufí
commit 681bc1aa82
9 changed files with 147 additions and 75 deletions

View file

@ -224,6 +224,7 @@ config BT_AMBIQ_HCI
select GPIO if SOC_SERIES_APOLLO4X
select CLOCK_CONTROL if SOC_SERIES_APOLLO4X
select BT_HCI_SETUP
select AMBIQ_COMPONENT_USE_BT
help
Supports Ambiq Bluetooth SoC using SPI as the communication protocol.
HCI packets are sent and received as single Byte transfers.