1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #969 from LudwigOrtmann/examples_rpl_udp_defaulttransceiver

examples/rpl_udp: use defaulttransceiver
This commit is contained in:
Christian Mehlis 2014-04-18 15:11:07 +02:00
commit 4488134322
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;