Skip to content

Commit 8ebc102

Browse files
committed
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_<type>` features that would allow filtering boards by the time of connectivity the have.
1 parent ffc9a3c commit 8ebc102

9 files changed

Lines changed: 10 additions & 10 deletions

File tree

boards/native/common_features.inc.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ FEATURES_PROVIDED += periph_pwm
88
FEATURES_PROVIDED += periph_qdec
99

1010
# Put other features for this board (in alphabetical order)
11-
FEATURES_PROVIDED += ethernet
11+
FEATURES_PROVIDED += netif_ethernet
1212
FEATURES_PROVIDED += motor_driver
1313
FEATURES_PROVIDED += netif

boards/nucleo-f207zg/Makefile.features

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FEATURES_PROVIDED += periph_uart
1414
FEATURES_PROVIDED += periph_usbdev
1515

1616
# Put other features for this board (in alphabetical order)
17-
FEATURES_PROVIDED += ethernet
17+
FEATURES_PROVIDED += netif_ethernet
1818
FEATURES_PROVIDED += netif
1919
FEATURES_PROVIDED += riotboot
2020
FEATURES_PROVIDED += tinyusb_device

boards/nucleo-f429zi/Makefile.features

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ FEATURES_PROVIDED += periph_uart
1414
FEATURES_PROVIDED += periph_usbdev
1515

1616
# Put other features for this board (in alphabetical order)
17-
FEATURES_PROVIDED += ethernet
17+
FEATURES_PROVIDED += netif_ethernet
1818
FEATURES_PROVIDED += netif
1919
FEATURES_PROVIDED += tinyusb_device
2020

boards/nucleo-f439zi/Makefile.features

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ FEATURES_PROVIDED += periph_uart
1313
FEATURES_PROVIDED += periph_usbdev
1414

1515
# Put other features for this board (in alphabetical order)
16-
FEATURES_PROVIDED += ethernet
16+
FEATURES_PROVIDED += netif_ethernet
1717
FEATURES_PROVIDED += netif
1818
FEATURES_PROVIDED += tinyusb_device
1919

boards/nucleo-f767zi/Makefile.features

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ FEATURES_PROVIDED += periph_uart
2020
FEATURES_PROVIDED += periph_usbdev
2121

2222
# Put other features for this board (in alphabetical order)
23-
FEATURES_PROVIDED += ethernet
23+
FEATURES_PROVIDED += netif_ethernet
2424
FEATURES_PROVIDED += netif
2525
FEATURES_PROVIDED += riotboot
2626
FEATURES_PROVIDED += tinyusb_device

boards/same54-xpro/Makefile.features

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ FEATURES_PROVIDED += periph_freqm
1919
FEATURES_PROVIDED += periph_can
2020

2121
# Put other features for this board (in alphabetical order)
22-
FEATURES_PROVIDED += ethernet
22+
FEATURES_PROVIDED += netif_ethernet
2323
FEATURES_PROVIDED += netif
2424
FEATURES_PROVIDED += riotboot
2525
FEATURES_PROVIDED += tinyusb_device

boards/stm32f746g-disco/features-shared.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ FEATURES_PROVIDED += periph_usbdev_hs
1717
FEATURES_PROVIDED += periph_usbdev_hs_ulpi
1818

1919
# Put other features for this board (in alphabetical order)
20-
FEATURES_PROVIDED += ethernet
20+
FEATURES_PROVIDED += netif_ethernet
2121
FEATURES_PROVIDED += netif
2222
FEATURES_PROVIDED += tinyusb_device

features.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -877,10 +877,10 @@ groups:
877877
- title: Board Features
878878
help: These features indicate features of the board
879879
features:
880-
- name: ethernet
881-
help: The board has Ethernet connectivity
882880
- name: netif
883881
help: The board has a network interface
882+
- name: netif_ethernet
883+
help: The board has an Ethernet network interface
884884
- name: highlevel_stdio
885885
help: A high-level stdio method (such as CDC ACM) is used. This requires a
886886
running thread and set-up and will not print during a crash.

makefiles/features_existing.inc.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ FEATURES_EXISTING := \
126126
esp_wifi \
127127
esp_wifi_ap \
128128
esp_wifi_enterprise \
129-
ethernet \
130129
gecko_sdk_librail_fpu \
131130
gecko_sdk_librail_nonfpu \
132131
highlevel_stdio \
133132
libstdcpp \
134133
motor_driver \
135134
netif \
135+
netif_ethernet \
136136
newlib \
137137
no_idle_thread \
138138
periph_adc \

0 commit comments

Comments
 (0)