If it is not 32 chips, hide the configuration item:BT_BLE_RPA_SUPPORTED

This commit is contained in:
zhiweijian
2023-03-20 15:54:32 +08:00
parent 588626d64e
commit 7ad9e885e4
16 changed files with 43 additions and 4 deletions
@@ -10,6 +10,7 @@
/* All the configuration from SDK defined here */
#include "bt_common.h"
#include "bt_user_config.h"
#include "soc/soc_caps.h"
/**********************************************************
* Thread/Task reference
@@ -104,8 +105,12 @@
#ifdef CONFIG_BT_BLE_RPA_SUPPORTED
#define UC_BT_BLE_RPA_SUPPORTED CONFIG_BT_BLE_RPA_SUPPORTED
#else
#if SOC_BLE_DEVICE_PRIVACY_SUPPORTED
#define UC_BT_BLE_RPA_SUPPORTED TRUE
#else
#define UC_BT_BLE_RPA_SUPPORTED FALSE
#endif
#endif
#ifdef CONFIG_BT_BLE_50_FEATURES_SUPPORTED
#define UC_BT_BLE_50_FEATURES_SUPPORTED CONFIG_BT_BLE_50_FEATURES_SUPPORTED