riscv/esp32c3: Add Wi-Fi and BLE coexist

This commit is contained in:
xiewenxiang
2021-06-02 11:52:57 +08:00
committed by Xiang Xiao
parent 8b96edc3a5
commit 145d917587
6 changed files with 297 additions and 4 deletions
@@ -311,6 +311,17 @@ int esp32c3_bringup(void)
}
#endif
#ifdef CONFIG_ESP32C3_WIRELESS
#ifdef CONFIG_ESP32C3_WIFI_BT_COEXIST
ret = esp32c3_wifi_bt_coexist_init();
if (ret)
{
syslog(LOG_ERR, "ERROR: Failed to initialize Wi-Fi and BT coexist\n");
return ret;
}
#endif
#ifdef CONFIG_ESP32C3_BLE
ret = esp32c3_ble_initialize();
if (ret)
@@ -353,6 +364,8 @@ int esp32c3_bringup(void)
#endif
#endif /* CONFIG_ESP32C3_WIRELESS */
#ifdef CONFIG_ESP32C3_LEDC
ret = esp32c3_pwm_setup();
if (ret < 0)