mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 04:34:31 +02:00
ble: npl count is zero if nimble host is not used
This commit is contained in:
@@ -1021,7 +1021,7 @@ void esp_ble_controller_log_dump_all(bool output)
|
||||
esp_panic_handler_reconfigure_wdts(5000);
|
||||
BT_ASSERT_PRINT("\r\n[DUMP_START:");
|
||||
ble_log_async_output_dump_all(output);
|
||||
BT_ASSERT_PRINT("]\r\n");
|
||||
BT_ASSERT_PRINT(":DUMP_END]\r\n");
|
||||
portEXIT_CRITICAL_SAFE(&spinlock);
|
||||
}
|
||||
#endif // CONFIG_BT_LE_CONTROLLER_LOG_ENABLED
|
||||
|
@@ -37,11 +37,19 @@ static const char *TAG = "Timer";
|
||||
#error "not defined SOC_ESP_NIMBLE_CONTROLLER or SOC_ESP_NIMBLE_CONTROLLER is zero"
|
||||
#endif
|
||||
|
||||
#if CONFIG_BT_NIMBLE_ENABLED
|
||||
#define BLE_HOST_CO_COUNT (8)
|
||||
#define BLE_HOST_EV_COUNT (11 + BLE_HOST_CO_COUNT)
|
||||
#define BLE_HOST_EVQ_COUNT (3)
|
||||
#define BLE_HOST_SEM_COUNT (10)
|
||||
#define BLE_HOST_MUTEX_COUNT (4)
|
||||
#else
|
||||
#define BLE_HOST_CO_COUNT (0)
|
||||
#define BLE_HOST_EV_COUNT (0)
|
||||
#define BLE_HOST_EVQ_COUNT (0)
|
||||
#define BLE_HOST_SEM_COUNT (0)
|
||||
#define BLE_HOST_MUTEX_COUNT (0)
|
||||
#endif
|
||||
|
||||
struct os_mempool ble_freertos_ev_pool;
|
||||
static os_membuf_t *ble_freertos_ev_buf = NULL;
|
||||
|
Reference in New Issue
Block a user