soc: riscv: esp32c3: added initial support for ble
subsystem by linking esp32 vhci adapter to the espressif ble controller adapter Signed-off-by: Felipe Neves <felipe.neves@espressif.com>
This commit is contained in:
parent
7163473d66
commit
2474c9b3f3
5 changed files with 40 additions and 1 deletions
|
@ -254,7 +254,7 @@ static int bt_esp32_ble_init(void)
|
|||
int ret;
|
||||
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
|
||||
|
||||
#ifdef CONFIG_BT_BREDR
|
||||
#if defined(CONFIG_BT_BREDR) && defined(CONFIG_SOC_ESP32)
|
||||
esp_bt_mode_t mode = ESP_BT_MODE_BTDM;
|
||||
#else
|
||||
esp_bt_mode_t mode = ESP_BT_MODE_BLE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue