1
0
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:
Jose Alamos 2022-07-28 18:29:14 +02:00
parent f1ca73e934
commit f8646f8e11
No known key found for this signature in database
GPG Key ID: F483EB800EF89DD9
2 changed files with 9 additions and 0 deletions

View File

@ -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

View File

@ -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(".");