fix(esp_netif): Add unit test for loopback configuration

Split tests into common and lwip/loopback specific and adds loopback
tests as separate configuration.
This commit is contained in:
David Cermak
2024-06-20 09:27:18 +02:00
committed by David Čermák
parent c6748a636d
commit 921b2a6331
10 changed files with 190 additions and 47 deletions

View File

@@ -480,4 +480,8 @@ esp_err_t esp_netif_tcpip_exec(esp_netif_callback_fn fn, void*ctx)
return fn(ctx);
}
esp_netif_t *esp_netif_get_handle_from_ifkey(const char *if_key)
{
return esp_netif_get_handle_from_ifkey_unsafe(if_key);
}
#endif /* CONFIG_ESP_NETIF_LOOPBACK */