mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
Merge branch 'bugfix/idf_lwip_hook_filename' into 'master'
lw-IP: Add IDF hook filename to customize lw-ip hooks Closes IDFGH-4430 See merge request espressif/esp-idf!11649
This commit is contained in:
commit
ec0358ad4f
@ -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
|
||||
|
@ -767,6 +767,9 @@
|
||||
---------- Hook options ---------------
|
||||
---------------------------------------
|
||||
*/
|
||||
#ifdef LWIP_HOOK_FILENAME
|
||||
#warning LWIP_HOOK_FILENAME is used for IDF default hooks. Please use ESP_IDF_LWIP_HOOK_FILENAME to insert additional hook
|
||||
#endif
|
||||
#define LWIP_HOOK_FILENAME "lwip_default_hooks.h"
|
||||
#define LWIP_HOOK_IP4_ROUTE_SRC ip4_route_src_hook
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user