From b5650915c96231802ca2aa7e51baa56aa8440bd2 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 26 Apr 2024 21:31:27 +0200 Subject: [PATCH] cpu/esp_common: esp_eth implements the legacy netdev API --- cpu/esp_common/Makefile.dep | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cpu/esp_common/Makefile.dep b/cpu/esp_common/Makefile.dep index a608ac94c6..346861af49 100644 --- a/cpu/esp_common/Makefile.dep +++ b/cpu/esp_common/Makefile.dep @@ -93,11 +93,14 @@ ifneq (,$(filter esp_wifi,$(USEMODULE))) endif ifneq (,$(filter esp_wifi_any,$(USEMODULE))) - USEMODULE += netdev_legacy_api USEMODULE += netopt USEMODULE += ztimer_msec endif +ifneq (,$(filter esp_eth esp_wifi esp_now,$(USEMODULE))) + USEMODULE += netdev_legacy_api +endif + ifneq (,$(filter esp_freertos_common,$(USEMODULE))) ifneq (,$(filter ztimer_msec,$(USEMODULE))) USEMODULE += core_thread_flags