fix(ble): fixed porting_btdm compilation issue for esp32-s31/h4

This commit is contained in:
ShenWeilong
2026-09-04 15:59:07 +08:00
parent 0ae0276b35
commit 55c650e1f6
3 changed files with 19 additions and 17 deletions
@@ -20,10 +20,6 @@
#include "../../common/btdm_bredr.h"
#endif // SOC_BT_CLASSIC_SUPPORTED
#if SOC_BLE_SUPPORTED
#include "../../common/btdm_le.h"
#endif /* SOC_BLE_SUPPORTED */
#ifdef CONFIG_BT_LE_HCI_INTERFACE_USE_UART
#include "driver/uart.h"
#endif
@@ -112,6 +108,11 @@
uint8_t val[6]; /*!< Array containing the 6-byte Bluetooth address value */
} esp_ble_addr_t;
#if SOC_BLE_SUPPORTED
#include "../../common/btdm_le.h"
#endif /* SOC_BLE_SUPPORTED */
#define BTDM_CONFIG_VERSION 0x20260127
#define BTDM_CONFIG_MAGIC_VALUE 0x5a5aa5a5
@@ -20,10 +20,6 @@
#include "../../common/btdm_bredr.h"
#endif // SOC_BT_CLASSIC_SUPPORTED
#if SOC_BLE_SUPPORTED
#include "../../common/btdm_le.h"
#endif /* SOC_BLE_SUPPORTED */
#ifdef CONFIG_BT_LE_HCI_INTERFACE_USE_UART
#include "driver/uart.h"
#endif
@@ -112,6 +108,10 @@ typedef struct {
uint8_t val[6]; /*!< Array containing the 6-byte Bluetooth address value */
} esp_ble_addr_t;
#if SOC_BLE_SUPPORTED
#include "../../common/btdm_le.h"
#endif /* SOC_BLE_SUPPORTED */
#define BTDM_CONFIG_VERSION 0x20260127
#define BTDM_CONFIG_MAGIC_VALUE 0x5a5aa5a5