mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-17 10:33:49 +01:00
build system: add netif_openwsn feature
Boards / MCUs now provide the newly introduced netif_openwsn feature if they have a network interface supported by OpenWSN.
This commit is contained in:
parent
8f4cd50f69
commit
798793e60a
@ -12,3 +12,4 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += riotboot
|
FEATURES_PROVIDED += riotboot
|
||||||
FEATURES_PROVIDED += netif
|
FEATURES_PROVIDED += netif
|
||||||
|
FEATURES_PROVIDED += netif_openwsn # at86rf2xx is supported by OpenWSN
|
||||||
|
|||||||
@ -13,3 +13,4 @@ FEATURES_PROVIDED += periph_timer
|
|||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += netif
|
FEATURES_PROVIDED += netif
|
||||||
|
FEATURES_PROVIDED += netif_openwsn # at86rf2xx is supported by OpenWSN
|
||||||
|
|||||||
@ -21,3 +21,4 @@ FEATURES_PROVIDED += periph_uart
|
|||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += netif
|
FEATURES_PROVIDED += netif
|
||||||
|
FEATURES_PROVIDED += netif_openwsn # at86rf2xx is supported by OpenWSN
|
||||||
|
|||||||
@ -15,5 +15,6 @@ FEATURES_PROVIDED += periph_usbdev
|
|||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += netif
|
FEATURES_PROVIDED += netif
|
||||||
|
FEATURES_PROVIDED += netif_openwsn # at86rf2xx is supported by OpenWSN
|
||||||
FEATURES_PROVIDED += riotboot
|
FEATURES_PROVIDED += riotboot
|
||||||
FEATURES_PROVIDED += tinyusb_device
|
FEATURES_PROVIDED += tinyusb_device
|
||||||
|
|||||||
@ -13,5 +13,6 @@ FEATURES_PROVIDED += periph_usbdev
|
|||||||
|
|
||||||
# Put other features for this board (in alphabetical order)
|
# Put other features for this board (in alphabetical order)
|
||||||
FEATURES_PROVIDED += netif
|
FEATURES_PROVIDED += netif
|
||||||
|
FEATURES_PROVIDED += netif_openwsn # at86rf2xx is supported by OpenWSN
|
||||||
FEATURES_PROVIDED += riotboot
|
FEATURES_PROVIDED += riotboot
|
||||||
FEATURES_PROVIDED += tinyusb_device
|
FEATURES_PROVIDED += tinyusb_device
|
||||||
|
|||||||
@ -17,5 +17,7 @@ FEATURES_PROVIDED += cortexm_mpu
|
|||||||
|
|
||||||
# MCU has a peripheral network interface
|
# MCU has a peripheral network interface
|
||||||
FEATURES_PROVIDED += netif
|
FEATURES_PROVIDED += netif
|
||||||
|
# the integrated netif is supported by OpenWSN
|
||||||
|
FEATURES_PROVIDED += netif_openwsn
|
||||||
|
|
||||||
include $(RIOTCPU)/cortexm_common/Makefile.features
|
include $(RIOTCPU)/cortexm_common/Makefile.features
|
||||||
|
|||||||
@ -8,6 +8,8 @@ CPU_FAM = nrf52
|
|||||||
# The 802.15.4 radio is not available on all SoCs
|
# The 802.15.4 radio is not available on all SoCs
|
||||||
ifneq (,$(filter nrf52811xxaa nrf52820xxaa nrf52833xxaa nrf52840xxaa,$(CPU_MODEL)))
|
ifneq (,$(filter nrf52811xxaa nrf52820xxaa nrf52833xxaa nrf52840xxaa,$(CPU_MODEL)))
|
||||||
FEATURES_PROVIDED += radio_nrf802154
|
FEATURES_PROVIDED += radio_nrf802154
|
||||||
|
# the nrf802154 driver is supported by OpenWSN
|
||||||
|
FEATURES_PROVIDED += netif_openwsn
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# crypto features
|
# crypto features
|
||||||
|
|||||||
@ -881,6 +881,8 @@ groups:
|
|||||||
help: The board has a network interface
|
help: The board has a network interface
|
||||||
- name: netif_ethernet
|
- name: netif_ethernet
|
||||||
help: The board has an Ethernet network interface
|
help: The board has an Ethernet network interface
|
||||||
|
- name: netif_openwsn
|
||||||
|
help: The board has a network interface suitable for OpenWSN
|
||||||
- name: highlevel_stdio
|
- name: highlevel_stdio
|
||||||
help: A high-level stdio method (such as CDC ACM) is used. This requires a
|
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.
|
running thread and set-up and will not print during a crash.
|
||||||
|
|||||||
@ -133,6 +133,7 @@ FEATURES_EXISTING := \
|
|||||||
motor_driver \
|
motor_driver \
|
||||||
netif \
|
netif \
|
||||||
netif_ethernet \
|
netif_ethernet \
|
||||||
|
netif_openwsn \
|
||||||
newlib \
|
newlib \
|
||||||
no_idle_thread \
|
no_idle_thread \
|
||||||
periph_adc \
|
periph_adc \
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user