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