Closed
Description
In a debug build
ESP_ERROR_CHECK failed: esp_err_t 0x106 (ESP_ERR_NOT_SUPPORTED) at 0x4002f190
file: "common-hal/wifi/__init__.c" line 147
func: wifi_reset
expression: esp_netif_deinit()
abort() was called at PC 0x4002f193 on core 0
Setting breakpoint at 0x400304fa and returning...
It appears esp_netif_deinit()
never succeeds:
esp_err_t esp_netif_deinit(void)
{
if (tcpip_initialized == true) {
/* deinit of LwIP not supported:
* do not deinit semaphores and states,
* so init could be called multiple times
*
tcpip_initialized = false;
sys_sem_free(&api_sync_sem);
sys_sem_free(&api_lock_sem);
*/
return ESP_ERR_NOT_SUPPORTED;
}
return ESP_ERR_INVALID_STATE;
}