1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #15132 from benpicco/nrf802154-submac

cpu/nrf52: nrf802154: default to netdev_ieee802154_submac
This commit is contained in:
Martine Lenders 2020-12-01 12:23:42 +01:00 committed by GitHub
commit e2af953cc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -5,6 +5,9 @@ ifneq (,$(filter nrf802154,$(USEMODULE)))
FEATURES_REQUIRED += radio_nrf802154
USEMODULE += luid
USEMODULE += netdev_ieee802154
ifeq (,$(filter netdev_ieee802154_legacy,$(USEMODULE)))
USEMODULE += netdev_ieee802154_submac
endif
endif
# The nrf52832 requires gpio IRQ with SPI to work around errata 58

View File

@ -31,6 +31,9 @@ USEMODULE += netstats_l2
USEMODULE += netstats_ipv6
USEMODULE += netstats_rpl
# Uncomment this to enable legacy support of netdev for IEEE 802.15.4 radios.
# USEMODULE += netdev_ieee802154_legacy
# Comment this out to disable code in RIOT that does safety checking
# which is not needed in a production environment but helps in the
# development process:

View File

@ -141,6 +141,7 @@ PSEUDOMODULES += ztimer%
# ztimer's main module is called "ztimer_core"
NO_PSEUDOMODULES += ztimer_core
NO_PSEUDOMODULES += netdev_ieee802154_submac
NO_PSEUDOMODULES += netdev_ieee802154_legacy
# print ascii representation in function od_hex_dump()
PSEUDOMODULES += od_string