mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-24 22:13:52 +01:00
tests/ieee802154_submac: add support for kw2xrf radios
Co-authored-by: Michel Rottleuthner <michel.rottleuthner@haw-hamburg.de>
This commit is contained in:
parent
f1ca73e934
commit
f8646f8e11
@ -16,6 +16,7 @@ BOARD_WHITELIST := \
|
||||
remote-pa \
|
||||
remote-reva \
|
||||
remote-revb \
|
||||
pba-d-01-kw2x \
|
||||
#
|
||||
USEMODULE += od
|
||||
USEMODULE += shell
|
||||
@ -39,4 +40,9 @@ endif
|
||||
CFLAGS += -DEVENT_THREAD_MEDIUM_STACKSIZE=1024
|
||||
|
||||
include $(RIOTBASE)/Makefile.include
|
||||
|
||||
ifneq (,$(filter bhp,$(USEMODULE)))
|
||||
USEMODULE += bhp_event
|
||||
endif
|
||||
|
||||
include $(RIOTMAKE)/default-radio-settings.inc.mk
|
||||
|
||||
@ -189,6 +189,9 @@ static ieee802154_dev_t *_reg_callback(ieee802154_dev_type_t type, void *opaque)
|
||||
case IEEE802154_DEV_TYPE_SOCKET_ZEP:
|
||||
printf("socket_zep");
|
||||
break;
|
||||
case IEEE802154_DEV_TYPE_KW2XRF:
|
||||
printf("kw2xrf");
|
||||
break;
|
||||
}
|
||||
|
||||
puts(".");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user