Skip to content

Commit 97a6543

Browse files
maribumguetschowmewen.berthelot
committed
tree-wide: Introduce netif feature and use it
This gets rid of a long list of boards with network interfaces and instead let's boards (or MCUs with peripheral network interfaces) provide the netif feature. The apps that before used the long list are not depending on the feature instead (in case of the default example, this is an optional dependency). Co-authored-by: mguetschow <[email protected]> Co-authored-by: mewen.berthelot <[email protected]>
1 parent aef06f4 commit 97a6543

File tree

38 files changed

+93
-99
lines changed

38 files changed

+93
-99
lines changed

boards/b-l072z-lrwan1/Makefile.features

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ FEATURES_PROVIDED += periph_timer
1111
FEATURES_PROVIDED += periph_uart
1212

1313
# Put other features for this board (in alphabetical order)
14-
# For riotboot you need an openocd that supports dualbank flashing.
15-
# The 0.10.0 openocd version in Ubuntu Bionic doesn't work. The change was
16-
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
14+
FEATURES_PROVIDED += netif
1715
FEATURES_PROVIDED += riotboot

boards/cc2538dk/Makefile.features

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ FEATURES_PROVIDED += periph_uart
1111

1212
# Various other features (if any)
1313
FEATURES_PROVIDED += emulator_renode
14+
FEATURES_PROVIDED += netif
1415
FEATURES_PROVIDED += riotboot

boards/common/iotlab/Makefile.features

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ FEATURES_PROVIDED += periph_uart
1111

1212
# Put other features for this board (in alphabetical order)
1313
FEATURES_PROVIDED += riotboot
14+
FEATURES_PROVIDED += netif

boards/common/kw41z/Makefile.features

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ FEATURES_PROVIDED += periph_timer
99
FEATURES_PROVIDED += periph_uart
1010

1111
# Put other features for this board (in alphabetical order)
12+
FEATURES_PROVIDED += netif
1213
FEATURES_PROVIDED += riotboot

boards/common/nrf52/Makefile.features

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@ CPU = nrf52
33
# Put defined MCU peripherals here (in alphabetical order)
44
FEATURES_PROVIDED += periph_rtt
55
FEATURES_PROVIDED += periph_timer
6+
7+
# Put other features for this board (in alphabetical order)
8+
FEATURES_PROVIDED += netif
69
FEATURES_PROVIDED += riotboot

boards/hamilton/Makefile.features

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@ FEATURES_PROVIDED += periph_rtc
1010
FEATURES_PROVIDED += periph_rtt
1111
FEATURES_PROVIDED += periph_spi
1212
FEATURES_PROVIDED += periph_timer
13+
14+
# Put other features for this board (in alphabetical order)
15+
FEATURES_PROVIDED += netif

boards/lobaro-lorabox/Makefile.features

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@ FEATURES_PROVIDED += periph_rtc
77
FEATURES_PROVIDED += periph_spi periph_spi_gpio_mode
88
FEATURES_PROVIDED += periph_timer
99
FEATURES_PROVIDED += periph_uart
10+
11+
# Put other features for this board (in alphabetical order)
12+
FEATURES_PROVIDED += netif

boards/lora-e5-dev/Makefile.features

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ FEATURES_PROVIDED += periph_uart
1313
# Put other features for this board (in alphabetical order)
1414
FEATURES_PROVIDED += arduino_pins
1515
FEATURES_PROVIDED += riotboot
16+
FEATURES_PROVIDED += netif

boards/lsn50/Makefile.features

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,5 @@ FEATURES_PROVIDED += periph_timer
1111
FEATURES_PROVIDED += periph_uart
1212

1313
# Put other features for this board (in alphabetical order)
14-
# For riotboot you need an openocd that supports dualbank flashing.
15-
# The 0.10.0 openocd version in Ubuntu Bionic doesn't work. The change was
16-
# introduced after Jun 8, 2017 - v0.10.0-1-20170607-2132-dev.
1714
FEATURES_PROVIDED += riotboot
15+
FEATURES_PROVIDED += netif

boards/mulle/Makefile.features

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ FEATURES_PROVIDED += periph_rtt
1818
FEATURES_PROVIDED += periph_spi
1919
FEATURES_PROVIDED += periph_timer
2020
FEATURES_PROVIDED += periph_uart
21+
22+
# Put other features for this board (in alphabetical order)
23+
FEATURES_PROVIDED += netif

0 commit comments

Comments
 (0)