drivers: bluetooth: rename BT_CYW43XXX to BT_AIROC
rename BT_CYW43XXX to BT_AIROC to be compatible with WIFI_AIROC Signed-off-by: Nazar Palamar <nazar.palamar@infineon.com>
This commit is contained in:
parent
1fd080b8cf
commit
5c3abe9197
|
@ -9,7 +9,7 @@ config BOARD
|
|||
|
||||
if BT
|
||||
|
||||
choice CYW43XXX_PART
|
||||
choice AIROC_PART
|
||||
default CYW4343W
|
||||
endchoice
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ if(CONFIG_BT_HCI_IPC)
|
|||
endif()
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_B91 hci_b91.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_CYW43XXX cyw43xxx.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_AIROC cyw43xxx.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_ESP32 hci_esp32.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_H4 h4.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_BT_H5 h5.c)
|
||||
|
|
|
@ -137,8 +137,8 @@ config BT_STM32_IPM_RX_STACK_SIZE
|
|||
depends on BT_STM32_IPM
|
||||
default 512
|
||||
|
||||
menuconfig BT_CYW43XXX
|
||||
bool "CYW43XXX BT connectivity"
|
||||
menuconfig BT_AIROC
|
||||
bool "AIROC BT connectivity"
|
||||
default y
|
||||
select BT_HCI_SETUP
|
||||
depends on GPIO
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
# an affiliate of Cypress Semiconductor Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
if BT_CYW43XXX
|
||||
if BT_AIROC
|
||||
|
||||
choice CYW43XXX_PART
|
||||
prompt "Select CYW43XXX part"
|
||||
choice AIROC_PART
|
||||
prompt "Select AIROC part"
|
||||
|
||||
config CYW4343W
|
||||
bool "CYW4343W"
|
||||
|
@ -42,12 +42,12 @@ config CYW43439
|
|||
More information about CYW43439 device you can find on
|
||||
https://www.infineon.com/cms/en/product/wireless-connectivity/airoc-wi-fi-plus-bluetooth-combos/cyw43439/
|
||||
|
||||
config BT_CYW43XXX_CUSTOM
|
||||
bool "Custom CYW43xx device/module"
|
||||
config BT_AIROC_CUSTOM
|
||||
bool "Custom AIROC device/module"
|
||||
help
|
||||
Select Custom CYW43xx device/module. For this option,
|
||||
Select Custom AIROC device/module. For this option,
|
||||
user must to provide path to BT firmware HCD file for
|
||||
custom or vendor CYW43xx modules in CYW43XX_CUSTOM_FIRMWARE_HCD_BLOB.
|
||||
custom or vendor AIROC modules in AIROC_CUSTOM_FIRMWARE_HCD_BLOB.
|
||||
|
||||
endchoice
|
||||
|
||||
|
@ -117,8 +117,8 @@ config CYW43439_MURATA_1YN
|
|||
|
||||
endchoice
|
||||
|
||||
config CYW43XX_CUSTOM_FIRMWARE_HCD_BLOB
|
||||
depends on BT_CYW43XXX_CUSTOM
|
||||
config AIROC_CUSTOM_FIRMWARE_HCD_BLOB
|
||||
depends on BT_AIROC_CUSTOM
|
||||
string "Path to user BT firmware HCD file"
|
||||
help
|
||||
Path to BT firmware HCD file for custom or vendor CYW43xx modules.
|
||||
|
@ -134,7 +134,7 @@ config BT_BUF_CMD_TX_SIZE
|
|||
config BT_ATT_ENFORCE_FLOW
|
||||
default n
|
||||
|
||||
endif # BT_CYW43XXX
|
||||
endif # BT_AIROC
|
||||
|
||||
if BT_PSOC6_BLESS
|
||||
|
||||
|
|
|
@ -36,8 +36,8 @@ if (CONFIG_SOC_FAMILY_INFINEON_CAT1A)
|
|||
add_subdirectory(abstraction-rtos)
|
||||
endif()
|
||||
|
||||
## Add btstack-integration for CYW43xx BT devices
|
||||
if (CONFIG_BT_CYW43XXX)
|
||||
## Add BT assets for AIROC devices
|
||||
if (CONFIG_BT_AIROC)
|
||||
add_subdirectory(btstack-integration)
|
||||
endif()
|
||||
|
||||
|
|
|
@ -30,13 +30,13 @@ if(CONFIG_CYW4373_STERLING_LWB5PLUS)
|
|||
set(blob_hcd_file ${hal_blobs_dir}/COMPONENT_4373/COMPONENT_STERLING-LWB5plus/bt_firmware.hcd)
|
||||
endif()
|
||||
|
||||
# use user provided FIRMWARE HCD file (path must be defined in CONFIG_CYW43XX_CUSTOM_FIRMWARE_HCD_BLOB)
|
||||
if(CONFIG_CYW43XX_CUSTOM_FIRMWARE_HCD_BLOB)
|
||||
# use user provided FIRMWARE HCD file (path must be defined in CONFIG_AIROC_CUSTOM_FIRMWARE_HCD_BLOB)
|
||||
if(CONFIG_AIROC_CUSTOM_FIRMWARE_HCD_BLOB)
|
||||
# Allowed to pass absolute path to HCD blob file, or relative path from Application folder.
|
||||
if(IS_ABSOLUTE ${CONFIG_CYW43XX_CUSTOM_FIRMWARE_HCD_BLOB})
|
||||
set(blob_hcd_file ${CONFIG_CYW43XX_CUSTOM_FIRMWARE_HCD_BLOB})
|
||||
if(IS_ABSOLUTE ${CONFIG_AIROC_CUSTOM_FIRMWARE_HCD_BLOB})
|
||||
set(blob_hcd_file ${CONFIG_AIROC_CUSTOM_FIRMWARE_HCD_BLOB})
|
||||
else()
|
||||
set(blob_hcd_file ${APPLICATION_SOURCE_DIR}/${CONFIG_CYW43XX_CUSTOM_FIRMWARE_HCD_BLOB})
|
||||
set(blob_hcd_file ${APPLICATION_SOURCE_DIR}/${CONFIG_AIROC_CUSTOM_FIRMWARE_HCD_BLOB})
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue