Skip to content

Commit

Permalink
fix(examples): Fix SLIP netif example to make esp_netif use special n…
Browse files Browse the repository at this point in the history
…etif

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

Closes #759
  • Loading branch information
david-cermak committed Feb 12, 2025
1 parent fcdf217 commit ea5fd6d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/esp_netif/slip_custom_netif/sdkconfig.defaults
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ea5fd6d

Please sign in to comment.