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

examples/rpl_udp: use defaulttransceiver

This commit is contained in:
Ludwig Ortmann 2014-04-02 14:30:17 +02:00
parent c0846fde22
commit 373c0aba6e
2 changed files with 3 additions and 12 deletions

View File

@ -41,13 +41,7 @@ USEMODULE += shell_commands
USEMODULE += posix
USEMODULE += ps
USEMODULE += vtimer
ifeq ($(strip $(BOARD)),native)
USEMODULE += nativenet
else ifeq ($(strip $(BOARD)),msba2)
USEMODULE += cc110x
else ifeq ($(strip $(BOARD)),iot-lab_M3)
USEMODULE += at86rf231
endif
USEMODULE += defaulttransceiver
USEMODULE += sixlowpan
USEMODULE += rpl
USEMODULE += destiny

View File

@ -28,15 +28,12 @@
#include "rpl.h"
#include "rpl_dodag.h"
#include "demo.h"
#include "transceiver.h"
#define ENABLE_DEBUG (0)
#include "debug.h"
#ifdef MODULE_NATIVENET
#define TRANSCEIVER TRANSCEIVER_NATIVE
#else
#define TRANSCEIVER TRANSCEIVER_CC1100
#endif
#define TRANSCEIVER TRANSCEIVER_DEFAULT
char monitor_stack_buffer[MONITOR_STACK_SIZE];
radio_address_t id;