Skip to content

Commit

Permalink
cpu/esp_common: esp_eth implements the legacy netdev API
Browse files Browse the repository at this point in the history
  • Loading branch information
maribu committed Apr 30, 2024
1 parent 87e2421 commit b565091
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cpu/esp_common/Makefile.dep
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b565091

Please sign in to comment.