fix(examples): Fix SLIP netif example to make esp_netif use special netif

by enabling PPP netif, so esp_netif knows that lwip's netif->state
will be reserved for special netif info (slip)

Closes https://github.com/espressif/esp-protocols/issues/759
This commit is contained in:
David Cermak
2025-02-12 17:25:49 +01:00
parent cdb7bfd188
commit 2db11bbb8c

View File

@ -1,2 +1,5 @@
# Override some defaults to enable SLIP
CONFIG_LWIP_SLIP_SUPPORT=y
# Workaround: Enable PPP to let esp_netif know that lwip's netif->state
# will be occupied (by SLIP netif info)
CONFIG_LWIP_PPP_SUPPORT=y