From 4824bb38e089c9d1a52f8fd6d840cdbdafe2a1cf Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 26 Apr 2024 21:24:13 +0200 Subject: [PATCH] cpu/nrf5x: nrfmin implements the legacy netdev API --- cpu/nrf5x_common/Makefile.dep | 4 ++++ cpu/nrf5x_common/radio/nrfmin/Makefile.dep | 1 + 2 files changed, 5 insertions(+) create mode 100644 cpu/nrf5x_common/radio/nrfmin/Makefile.dep diff --git a/cpu/nrf5x_common/Makefile.dep b/cpu/nrf5x_common/Makefile.dep index 13fa0087ab..0638708a14 100644 --- a/cpu/nrf5x_common/Makefile.dep +++ b/cpu/nrf5x_common/Makefile.dep @@ -14,3 +14,7 @@ FEATURES_OPTIONAL += vdd_lc_filter_reg0 ifneq (,$(filter nimble,$(USEPKG))) USEPKG += nrfx endif + +ifneq (,$(filter nrfmin,$(USEMODULE))) + USEMODULE += netdev_legacy_api +endif diff --git a/cpu/nrf5x_common/radio/nrfmin/Makefile.dep b/cpu/nrf5x_common/radio/nrfmin/Makefile.dep new file mode 100644 index 0000000000..873be7ab00 --- /dev/null +++ b/cpu/nrf5x_common/radio/nrfmin/Makefile.dep @@ -0,0 +1 @@ +USEMODULE += netdev_legacy_api