mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 05:12:57 +01:00
Merge pull request #20695 from maribu/pkg/openwsn/feature
build system: add netif_openwsn feature
This commit is contained in:
commit
65aaeae933
@ -12,3 +12,4 @@ FEATURES_PROVIDED += periph_uart
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += riotboot
|
||||
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)
|
||||
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)
|
||||
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)
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += netif_openwsn # at86rf2xx is supported by OpenWSN
|
||||
FEATURES_PROVIDED += riotboot
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
@ -13,5 +13,6 @@ FEATURES_PROVIDED += periph_usbdev
|
||||
|
||||
# Put other features for this board (in alphabetical order)
|
||||
FEATURES_PROVIDED += netif
|
||||
FEATURES_PROVIDED += netif_openwsn # at86rf2xx is supported by OpenWSN
|
||||
FEATURES_PROVIDED += riotboot
|
||||
FEATURES_PROVIDED += tinyusb_device
|
||||
|
@ -17,5 +17,7 @@ FEATURES_PROVIDED += cortexm_mpu
|
||||
|
||||
# MCU has a peripheral network interface
|
||||
FEATURES_PROVIDED += netif
|
||||
# the integrated netif is supported by OpenWSN
|
||||
FEATURES_PROVIDED += netif_openwsn
|
||||
|
||||
include $(RIOTCPU)/cortexm_common/Makefile.features
|
||||
|
@ -8,6 +8,8 @@ CPU_FAM = nrf52
|
||||
# The 802.15.4 radio is not available on all SoCs
|
||||
ifneq (,$(filter nrf52811xxaa nrf52820xxaa nrf52833xxaa nrf52840xxaa,$(CPU_MODEL)))
|
||||
FEATURES_PROVIDED += radio_nrf802154
|
||||
# the nrf802154 driver is supported by OpenWSN
|
||||
FEATURES_PROVIDED += netif_openwsn
|
||||
endif
|
||||
|
||||
# crypto features
|
||||
|
@ -881,6 +881,8 @@ groups:
|
||||
help: The board has a network interface
|
||||
- name: netif_ethernet
|
||||
help: The board has an Ethernet network interface
|
||||
- name: netif_openwsn
|
||||
help: The board has a network interface suitable for OpenWSN
|
||||
- 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.
|
||||
|
@ -133,6 +133,7 @@ FEATURES_EXISTING := \
|
||||
motor_driver \
|
||||
netif \
|
||||
netif_ethernet \
|
||||
netif_openwsn \
|
||||
newlib \
|
||||
no_idle_thread \
|
||||
periph_adc \
|
||||
|
@ -1,3 +1,6 @@
|
||||
FEATURES_REQUIRED += netif_openwsn
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
|
||||
ifneq (,$(filter openwsn_openstack,$(USEMODULE)))
|
||||
USEMODULE += openwsn_iphc
|
||||
USEMODULE += openwsn_ipv6
|
||||
|
@ -28,6 +28,7 @@
|
||||
|
||||
#include "stdint.h"
|
||||
#include "board.h"
|
||||
#include "periph_conf.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -2,34 +2,6 @@ BOARD ?= iotlab-m3
|
||||
|
||||
include ../Makefile.pkg_common
|
||||
|
||||
# list of arm boards that provide at86rf2xx radios, cc2538_rf or nrf52840
|
||||
# radios
|
||||
BOARD_WHITELIST = \
|
||||
adafruit-clue \
|
||||
adafruit-itsybitsy-nrf52 \
|
||||
arduino-nano-33-ble \
|
||||
cc2538dk \
|
||||
feather-nrf52840 \
|
||||
firefly \
|
||||
iotlab-m3 \
|
||||
iotlab-a8-m3 \
|
||||
nrf52840-mdk \
|
||||
nrf52840dk \
|
||||
nrf52840dongle \
|
||||
omote \
|
||||
openmote-b \
|
||||
openmote-cc2538 \
|
||||
particle-argon \
|
||||
particle-boron \
|
||||
particle-xenon \
|
||||
samr21-xpro \
|
||||
samr30-xpro \
|
||||
reel \
|
||||
remote-pa \
|
||||
remote-reva \
|
||||
remote-revb \
|
||||
#
|
||||
|
||||
# OpenWSN Modules
|
||||
USEPKG += openwsn
|
||||
USEMODULE += openwsn_openstack
|
||||
|
@ -2,34 +2,6 @@ BOARD ?= samr21-xpro
|
||||
|
||||
include ../Makefile.pkg_common
|
||||
|
||||
# list of arm boards that provide at86rf2xx radios, cc2538_rf or nrf52840
|
||||
# radios
|
||||
BOARD_WHITELIST = \
|
||||
adafruit-clue \
|
||||
adafruit-itsybitsy-nrf52 \
|
||||
arduino-nano-33-ble \
|
||||
cc2538dk \
|
||||
feather-nrf52840 \
|
||||
firefly \
|
||||
iotlab-m3 \
|
||||
iotlab-a8-m3 \
|
||||
nrf52840-mdk \
|
||||
nrf52840dk \
|
||||
nrf52840dongle \
|
||||
omote \
|
||||
openmote-b \
|
||||
openmote-cc2538 \
|
||||
particle-argon \
|
||||
particle-boron \
|
||||
particle-xenon \
|
||||
samr21-xpro \
|
||||
samr30-xpro \
|
||||
reel \
|
||||
remote-pa \
|
||||
remote-reva \
|
||||
remote-revb \
|
||||
#
|
||||
|
||||
USEPKG += openwsn
|
||||
USEMODULE += openwsn_openstack
|
||||
USEMODULE += openwsn_scheduler
|
||||
|
Loading…
Reference in New Issue
Block a user