diff --git a/Makefile.features b/Makefile.features index 05b5df0c51..f34a7bd8c7 100644 --- a/Makefile.features +++ b/Makefile.features @@ -31,3 +31,8 @@ FEATURES_CONFLICT_MSG += "Only one GPIO IRQ implementation can be used." FEATURES_CONFLICT += periph_usbdev:tinyusb_device FEATURES_CONFLICT += periph_usbdev:tinyusb_host FEATURES_CONFLICT_MSG += "Package tinyUSB is not yet compatible with periph_usbdev." + +# Features provided implicitly +ifneq (,$(filter netif_%,$(FEATURES_PROVIDED))) + FEATURES_PROVIDED += netif +endif diff --git a/boards/native/common_features.inc.mk b/boards/native/common_features.inc.mk index cb405da7ba..229a188f6c 100644 --- a/boards/native/common_features.inc.mk +++ b/boards/native/common_features.inc.mk @@ -8,6 +8,5 @@ FEATURES_PROVIDED += periph_pwm FEATURES_PROVIDED += periph_qdec # Put other features for this board (in alphabetical order) -FEATURES_PROVIDED += netif_ethernet FEATURES_PROVIDED += motor_driver -FEATURES_PROVIDED += netif +FEATURES_PROVIDED += netif_ethernet diff --git a/boards/nucleo-f207zg/Makefile.features b/boards/nucleo-f207zg/Makefile.features index 0cc2f12a09..adc07443e9 100644 --- a/boards/nucleo-f207zg/Makefile.features +++ b/boards/nucleo-f207zg/Makefile.features @@ -15,7 +15,6 @@ FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += netif_ethernet -FEATURES_PROVIDED += netif FEATURES_PROVIDED += riotboot FEATURES_PROVIDED += tinyusb_device diff --git a/boards/nucleo-f429zi/Makefile.features b/boards/nucleo-f429zi/Makefile.features index 115f29aff3..0fce446174 100644 --- a/boards/nucleo-f429zi/Makefile.features +++ b/boards/nucleo-f429zi/Makefile.features @@ -15,7 +15,6 @@ FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += netif_ethernet -FEATURES_PROVIDED += netif FEATURES_PROVIDED += tinyusb_device # load the common Makefile.features for Nucleo boards diff --git a/boards/nucleo-f439zi/Makefile.features b/boards/nucleo-f439zi/Makefile.features index 6a0f72abbc..5b33844d3e 100644 --- a/boards/nucleo-f439zi/Makefile.features +++ b/boards/nucleo-f439zi/Makefile.features @@ -14,7 +14,6 @@ FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += netif_ethernet -FEATURES_PROVIDED += netif FEATURES_PROVIDED += tinyusb_device # load the common Makefile.features for Nucleo boards diff --git a/boards/nucleo-f767zi/Makefile.features b/boards/nucleo-f767zi/Makefile.features index cef84ab51d..0a22806cb3 100644 --- a/boards/nucleo-f767zi/Makefile.features +++ b/boards/nucleo-f767zi/Makefile.features @@ -21,7 +21,6 @@ FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += netif_ethernet -FEATURES_PROVIDED += netif FEATURES_PROVIDED += riotboot FEATURES_PROVIDED += tinyusb_device diff --git a/boards/same54-xpro/Makefile.features b/boards/same54-xpro/Makefile.features index 9e34d364a0..5ae944c4bf 100644 --- a/boards/same54-xpro/Makefile.features +++ b/boards/same54-xpro/Makefile.features @@ -20,6 +20,5 @@ FEATURES_PROVIDED += periph_can # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += netif_ethernet -FEATURES_PROVIDED += netif FEATURES_PROVIDED += riotboot FEATURES_PROVIDED += tinyusb_device diff --git a/boards/stm32f746g-disco/features-shared.mk b/boards/stm32f746g-disco/features-shared.mk index db01f25e0c..d117b6be80 100644 --- a/boards/stm32f746g-disco/features-shared.mk +++ b/boards/stm32f746g-disco/features-shared.mk @@ -18,5 +18,4 @@ FEATURES_PROVIDED += periph_usbdev_hs_ulpi # Put other features for this board (in alphabetical order) FEATURES_PROVIDED += netif_ethernet -FEATURES_PROVIDED += netif FEATURES_PROVIDED += tinyusb_device