mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-10-08 15:47:22 +00:00
Nimble: Migration changes for nimble-1.5
This commit is contained in:
committed by
Abhinav Kudnar
parent
f123585faf
commit
cd5a88be94
@@ -39,7 +39,6 @@
|
||||
#endif
|
||||
|
||||
|
||||
#include "nimble/ble_hci_trans.h"
|
||||
|
||||
#include "esp_intr_alloc.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
@@ -105,9 +104,8 @@ esp_err_t esp_nimble_init(void)
|
||||
/* Initialize the global memory pool */
|
||||
os_mempool_module_init();
|
||||
os_msys_init();
|
||||
/* Initialize transport */
|
||||
ble_transport_init();
|
||||
#endif
|
||||
|
||||
#endif
|
||||
/* Initialize the host */
|
||||
ble_transport_hs_init();
|
||||
|
||||
|
||||
@@ -45,8 +45,8 @@ static const char *TAG = "Timer";
|
||||
#define OS_MEM_ALLOC (1)
|
||||
|
||||
#if CONFIG_BT_NIMBLE_ENABLED
|
||||
#define BT_LE_HCI_EVT_HI_BUF_COUNT MYNEWT_VAL(BLE_HCI_EVT_HI_BUF_COUNT)
|
||||
#define BT_LE_HCI_EVT_LO_BUF_COUNT MYNEWT_VAL(BLE_HCI_EVT_LO_BUF_COUNT)
|
||||
#define BT_LE_HCI_EVT_HI_BUF_COUNT MYNEWT_VAL(BLE_TRANSPORT_EVT_COUNT)
|
||||
#define BT_LE_HCI_EVT_LO_BUF_COUNT MYNEWT_VAL(BLE_TRANSPORT_EVT_DISCARDABLE_COUNT)
|
||||
#define BT_LE_MAX_EXT_ADV_INSTANCES MYNEWT_VAL(BLE_MULTI_ADV_INSTANCES)
|
||||
#define BT_LE_MAX_CONNECTIONS MYNEWT_VAL(BLE_MAX_CONNECTIONS)
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user