mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
tests/test_pnet: use defaulttransceiver
This commit is contained in:
parent
044bfb055a
commit
619e94167e
@ -1,20 +1,11 @@
|
||||
export PROJECT =test_pnet
|
||||
include ../Makefile.tests_common
|
||||
|
||||
ifeq ($(BOARD),stm32f4discovery)
|
||||
include Makefile.$(BOARD)
|
||||
endif
|
||||
|
||||
USEMODULE += auto_init
|
||||
USEMODULE += posix
|
||||
USEMODULE += pnet
|
||||
USEMODULE += vtimer
|
||||
|
||||
ifeq ($(strip $(BOARD)),native)
|
||||
USEMODULE += nativenet
|
||||
else ifeq ($(strip $(BOARD)),msba2)
|
||||
USEMODULE += cc110x_ng
|
||||
endif
|
||||
USEMODULE += defaulttransceiver
|
||||
|
||||
ifeq ($(BOARD),native)
|
||||
CFLAGS += -isystem $(RIOTBASE)/sys/net/include \
|
||||
|
@ -30,12 +30,6 @@
|
||||
#include "net_if.h"
|
||||
#include "ipv6.h"
|
||||
|
||||
#ifdef MODULE_NATIVENET
|
||||
#define TRANSCEIVER TRANSCEIVER_NATIVE
|
||||
#else
|
||||
#define TRANSCEIVER TRANSCEIVER_CC1100
|
||||
#endif
|
||||
|
||||
#ifndef R_ADDR
|
||||
#define R_ADDR (1)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user