lwip: Add IDF hook filename to customize lwip hooks

LWIP_HOOK_FILENAME is used in IDF to define standard and default hooks for IDF port in LWIP.
Added ESP_IDF_LWIP_HOOK_FILENAME to customize additional hooks in lwip

Closes https://github.com/espressif/esp-idf/issues/6261
This commit is contained in:
David Cermak 2020-12-16 10:29:18 +01:00 committed by bot
parent f34925537e
commit 5993a49352

View File

@ -18,6 +18,10 @@
#include "lwip/arch.h"
#include "lwip/err.h"
#ifdef ESP_IDF_LWIP_HOOK_FILENAME
#include ESP_IDF_LWIP_HOOK_FILENAME
#endif
#ifdef __cplusplus
extern "C" {
#endif