From 8ebc10278037f790ff073158c800fd0bdc853966 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 24 May 2024 21:52:07 +0200 Subject: [PATCH] build system: rename ethernet feature into netif_ethernet The `ethernet` feature has not yet been used, so renaming it should not cause any issue. The goal is to eventually have a number of `netif_` features that would allow filtering boards by the time of connectivity the have. --- boards/native/common_features.inc.mk | 2 +- boards/nucleo-f207zg/Makefile.features | 2 +- boards/nucleo-f429zi/Makefile.features | 2 +- boards/nucleo-f439zi/Makefile.features | 2 +- boards/nucleo-f767zi/Makefile.features | 2 +- boards/same54-xpro/Makefile.features | 2 +- boards/stm32f746g-disco/features-shared.mk | 2 +- features.yaml | 4 ++-- makefiles/features_existing.inc.mk | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/boards/native/common_features.inc.mk b/boards/native/common_features.inc.mk index f65b720e62..cb405da7ba 100644 --- a/boards/native/common_features.inc.mk +++ b/boards/native/common_features.inc.mk @@ -8,6 +8,6 @@ FEATURES_PROVIDED += periph_pwm FEATURES_PROVIDED += periph_qdec # Put other features for this board (in alphabetical order) -FEATURES_PROVIDED += ethernet +FEATURES_PROVIDED += netif_ethernet FEATURES_PROVIDED += motor_driver FEATURES_PROVIDED += netif diff --git a/boards/nucleo-f207zg/Makefile.features b/boards/nucleo-f207zg/Makefile.features index b0d25d5ce0..0cc2f12a09 100644 --- a/boards/nucleo-f207zg/Makefile.features +++ b/boards/nucleo-f207zg/Makefile.features @@ -14,7 +14,7 @@ FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) -FEATURES_PROVIDED += ethernet +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 e411743eb1..115f29aff3 100644 --- a/boards/nucleo-f429zi/Makefile.features +++ b/boards/nucleo-f429zi/Makefile.features @@ -14,7 +14,7 @@ FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) -FEATURES_PROVIDED += ethernet +FEATURES_PROVIDED += netif_ethernet FEATURES_PROVIDED += netif FEATURES_PROVIDED += tinyusb_device diff --git a/boards/nucleo-f439zi/Makefile.features b/boards/nucleo-f439zi/Makefile.features index b3c6be29c1..6a0f72abbc 100644 --- a/boards/nucleo-f439zi/Makefile.features +++ b/boards/nucleo-f439zi/Makefile.features @@ -13,7 +13,7 @@ FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) -FEATURES_PROVIDED += ethernet +FEATURES_PROVIDED += netif_ethernet FEATURES_PROVIDED += netif FEATURES_PROVIDED += tinyusb_device diff --git a/boards/nucleo-f767zi/Makefile.features b/boards/nucleo-f767zi/Makefile.features index aa9175df15..cef84ab51d 100644 --- a/boards/nucleo-f767zi/Makefile.features +++ b/boards/nucleo-f767zi/Makefile.features @@ -20,7 +20,7 @@ FEATURES_PROVIDED += periph_uart FEATURES_PROVIDED += periph_usbdev # Put other features for this board (in alphabetical order) -FEATURES_PROVIDED += ethernet +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 fb56f6949b..9e34d364a0 100644 --- a/boards/same54-xpro/Makefile.features +++ b/boards/same54-xpro/Makefile.features @@ -19,7 +19,7 @@ FEATURES_PROVIDED += periph_freqm FEATURES_PROVIDED += periph_can # Put other features for this board (in alphabetical order) -FEATURES_PROVIDED += ethernet +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 6dd03f081e..db01f25e0c 100644 --- a/boards/stm32f746g-disco/features-shared.mk +++ b/boards/stm32f746g-disco/features-shared.mk @@ -17,6 +17,6 @@ FEATURES_PROVIDED += periph_usbdev_hs FEATURES_PROVIDED += periph_usbdev_hs_ulpi # Put other features for this board (in alphabetical order) -FEATURES_PROVIDED += ethernet +FEATURES_PROVIDED += netif_ethernet FEATURES_PROVIDED += netif FEATURES_PROVIDED += tinyusb_device diff --git a/features.yaml b/features.yaml index ab6c595273..3827b59357 100644 --- a/features.yaml +++ b/features.yaml @@ -877,10 +877,10 @@ groups: - title: Board Features help: These features indicate features of the board features: - - name: ethernet - help: The board has Ethernet connectivity - name: netif help: The board has a network interface + - name: netif_ethernet + help: The board has an Ethernet network interface - name: highlevel_stdio help: A high-level stdio method (such as CDC ACM) is used. This requires a running thread and set-up and will not print during a crash. diff --git a/makefiles/features_existing.inc.mk b/makefiles/features_existing.inc.mk index 57dcc500d2..093673aac3 100644 --- a/makefiles/features_existing.inc.mk +++ b/makefiles/features_existing.inc.mk @@ -126,13 +126,13 @@ FEATURES_EXISTING := \ esp_wifi \ esp_wifi_ap \ esp_wifi_enterprise \ - ethernet \ gecko_sdk_librail_fpu \ gecko_sdk_librail_nonfpu \ highlevel_stdio \ libstdcpp \ motor_driver \ netif \ + netif_ethernet \ newlib \ no_idle_thread \ periph_adc \