Page 1 of 1

how to enable additional LWIP config options?

Posted: Fri Apr 10, 2020 4:03 pm
by ecc esp
I would like to use the netif_set_status_callback and netif_set_link_callback functions in my code, so that I can block instead of polling. But these require LWIP_NETIF_STATUS_CALLBACK and LWIP_NETIF_LINK_CALLBACK to be defined as non-zero, which they're not in the current version.

Is there some way to override options like this in a project-specific include file, or any other way than local modifications to the esp-idf source tree?