From 5f70efbe1e92268c16177e0b97a3cf00c0cdfd86 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Mon, 25 Jul 2022 14:08:52 +0200 Subject: [PATCH] Hook works --- ESPTest/platformio.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ESPTest/platformio.ini b/ESPTest/platformio.ini index 161a51e..2bb487d 100644 --- a/ESPTest/platformio.ini +++ b/ESPTest/platformio.ini @@ -13,3 +13,5 @@ platform = espressif32 board = az-delivery-devkit-v4 framework = espidf monitor_speed = 115200 +build_flags = + '-DLWIP_HOOK_IP4_INPUT(pbuf, input_netif)=({ESP_LOGI("HOOK","TEST");0;})' \ No newline at end of file