From 980a4acd11c2cafeb4f037fb41ae5501008452a3 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Wed, 5 Oct 2022 23:01:40 +0200 Subject: [PATCH] Fixed compiling with newest IDF again --- CMakeLists.txt | 2 ++ src/espwifistack.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16e9801..b31d464 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,8 @@ set(dependencies esp_netif lwip esp_wifi + driver + esp_eth cpputils espchrono diff --git a/src/espwifistack.h b/src/espwifistack.h index c4fb70c..5f67d37 100644 --- a/src/espwifistack.h +++ b/src/espwifistack.h @@ -12,6 +12,9 @@ #include #include #include +#ifdef CONFIG_ETH_ENABLED +#include +#endif // 3rdparty lib includes #include