From 53e4c215ee27a248488add4a7b373aea9bd80115 Mon Sep 17 00:00:00 2001 From: Ioannis Glaropoulos Date: Thu, 15 Aug 2019 08:57:53 +0200 Subject: [PATCH] include: bluetooth: define hci macro for nRF53 Define the nRF53 HW variant in include/bluetooth/hci_vs.h and pass the define in hci_vendor.h Signed-off-by: Ioannis Glaropoulos --- include/bluetooth/hci_vs.h | 1 + subsys/bluetooth/controller/hci/nordic/hci_vendor.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/include/bluetooth/hci_vs.h b/include/bluetooth/hci_vs.h index c2056e21d3b..cdfbf6e22b2 100644 --- a/include/bluetooth/hci_vs.h +++ b/include/bluetooth/hci_vs.h @@ -21,6 +21,7 @@ extern "C" { #define BT_HCI_VS_HW_VAR_NORDIC_NRF51X 0x0001 #define BT_HCI_VS_HW_VAR_NORDIC_NRF52X 0x0002 +#define BT_HCI_VS_HW_VAR_NORDIC_NRF53X 0x0003 #define BT_HCI_VS_FW_VAR_STANDARD_CTLR 0x0001 #define BT_HCI_VS_FW_VAR_VS_CTLR 0x0002 diff --git a/subsys/bluetooth/controller/hci/nordic/hci_vendor.h b/subsys/bluetooth/controller/hci/nordic/hci_vendor.h index 31be48d7ab4..7b42bd705f4 100644 --- a/subsys/bluetooth/controller/hci/nordic/hci_vendor.h +++ b/subsys/bluetooth/controller/hci/nordic/hci_vendor.h @@ -10,6 +10,8 @@ #define BT_HCI_VS_HW_VAR BT_HCI_VS_HW_VAR_NORDIC_NRF51X #elif defined(CONFIG_SOC_COMPATIBLE_NRF52X) #define BT_HCI_VS_HW_VAR BT_HCI_VS_HW_VAR_NORDIC_NRF52X +#elif defined(CONFIG_SOC_SERIES_NRF53X) +#define BT_HCI_VS_HW_VAR BT_HCI_VS_HW_VAR_NORDIC_NRF53X #endif #else #define BT_HCI_VS_HW_PLAT 0