mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
fix(openthread): fix openthread radio spinel deinit
This commit is contained in:
@ -164,7 +164,7 @@ esp_err_t esp_enable_extern_coex_gpio_pin(external_coex_wire_t wire_type,
|
||||
* @brief Disable external coex.
|
||||
* @return : ESP_OK - success, other - failed
|
||||
*/
|
||||
esp_err_t esp_disable_extern_coex_gpio_pin();
|
||||
esp_err_t esp_disable_extern_coex_gpio_pin(void);
|
||||
|
||||
#if SOC_EXTERNAL_COEX_ADVANCE
|
||||
/**
|
||||
|
@ -275,7 +275,7 @@ esp_err_t esp_enable_extern_coex_gpio_pin(external_coex_wire_t wire_type, esp_ex
|
||||
return ESP_OK;
|
||||
}
|
||||
|
||||
esp_err_t esp_disable_extern_coex_gpio_pin()
|
||||
esp_err_t esp_disable_extern_coex_gpio_pin(void)
|
||||
{
|
||||
esp_coex_external_stop();
|
||||
|
||||
|
@ -188,6 +188,8 @@ esp_err_t esp_openthread_rcp_init(void)
|
||||
void esp_openthread_radio_deinit(void)
|
||||
{
|
||||
s_radio.Deinit();
|
||||
s_spinel_driver.Deinit();
|
||||
s_spinel_interface.GetSpinelInterface().Disable();
|
||||
esp_openthread_platform_workflow_unregister(radiospinel_workflow);
|
||||
}
|
||||
|
||||
|
@ -22,7 +22,8 @@
|
||||
|
||||
examples/openthread/ot_br:
|
||||
enable:
|
||||
- if: SOC_WIFI_SUPPORTED == 1
|
||||
- if: (SOC_WIFI_SUPPORTED == 1 and IDF_TARGET != "esp32c61") and CONFIG_NAME != "native_radio"
|
||||
- if: (SOC_WIFI_SUPPORTED == 1 and IDF_TARGET != "esp32c61") and (SOC_IEEE802154_SUPPORTED == 1 and CONFIG_NAME == "native_radio")
|
||||
disable_test:
|
||||
- if: IDF_TARGET in ["esp32", "esp32c3", "esp32c2", "esp32c6", "esp32s2"]
|
||||
temporary: true
|
||||
|
2
examples/openthread/ot_br/sdkconfig.ci.ext_coex
Normal file
2
examples/openthread/ot_br/sdkconfig.ci.ext_coex
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_EXTERNAL_COEX_ENABLE=y
|
||||
CONFIG_ESP_COEX_SW_COEXIST_ENABLE=n
|
2
examples/openthread/ot_br/sdkconfig.ci.native_radio
Normal file
2
examples/openthread/ot_br/sdkconfig.ci.native_radio
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_OPENTHREAD_RADIO_NATIVE=y
|
||||
CONFIG_ESP_COEX_SW_COEXIST_ENABLE=y
|
2
examples/openthread/ot_rcp/sdkconfig.ci.ext_coex
Normal file
2
examples/openthread/ot_rcp/sdkconfig.ci.ext_coex
Normal file
@ -0,0 +1,2 @@
|
||||
CONFIG_EXTERNAL_COEX_ENABLE=y
|
||||
CONFIG_ESP_COEX_SW_COEXIST_ENABLE=n
|
@ -3,4 +3,4 @@
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(esp_ot_cli)
|
||||
project(esp_ot_trel)
|
||||
|
@ -44,3 +44,9 @@ CONFIG_COMPILER_OPTIMIZATION_SIZE=y
|
||||
|
||||
# Example connect
|
||||
CONFIG_EXAMPLE_CONNECT_THREAD=n
|
||||
|
||||
#
|
||||
# Wireless Coexistence
|
||||
#
|
||||
CONFIG_ESP_COEX_SW_COEXIST_ENABLE=n
|
||||
CONFIG_EXTERNAL_COEX_ENABLE=n
|
||||
|
Reference in New Issue
Block a user