mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
246391a9fa
This introduces the nrf802154_netdev_legacy pseudomodule that switches to the netdev-based implementation of the nrf802154 radio driver.
11 lines
232 B
Makefile
11 lines
232 B
Makefile
MODULE = nrf802154
|
|
|
|
# use netdev implementation when legacy is explicitly enabled
|
|
ifneq (,$(filter nrf802154_netdev_legacy,$(USEMODULE)))
|
|
SRC += nrf802154.c
|
|
else
|
|
SRC += nrf802154_radio.c
|
|
endif
|
|
|
|
include $(RIOTBASE)/Makefile.base
|