From 5993a4935206589798b929044f3e73b18f2b798f Mon Sep 17 00:00:00 2001 From: David Cermak Date: Wed, 16 Dec 2020 10:29:18 +0100 Subject: [PATCH] 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 --- components/lwip/port/esp32/include/lwip_default_hooks.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/lwip/port/esp32/include/lwip_default_hooks.h b/components/lwip/port/esp32/include/lwip_default_hooks.h index c882ddbd24..4af3c6582c 100644 --- a/components/lwip/port/esp32/include/lwip_default_hooks.h +++ b/components/lwip/port/esp32/include/lwip_default_hooks.h @@ -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