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

Merge pull request #681 from OlegHahm/at86rf231_fixes

at86rf231: fix includes and shell commands
This commit is contained in:
Thomas Eichinger 2014-02-12 09:46:13 +01:00
commit 17b624e0a4
7 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,6 @@
#include "at86rf231_spi.h"
#include "at86rf231_arch.h"
#include "at86rf231_settings.h"
#include "at86rf231.h"
void at86rf231_reg_write(uint8_t addr, uint8_t value)
{

View File

@ -8,9 +8,7 @@
#include "ieee802154_frame.h"
#include "at86rf231_arch.h"
#include "at86rf231_settings.h"
#include "at86rf231_spi.h"
#include "at86rf231/at86rf231_settings.h"
#define AT86RF231_MAX_PKT_LENGTH 127
#define AT86RF231_MAX_DATA_LENGTH 118

View File

@ -44,8 +44,10 @@ USEMODULE += ps
USEMODULE += vtimer
ifeq ($(strip $(BOARD)),native)
USEMODULE += nativenet
else
else ifeq ($(strip $(BOARD)),msba2)
USEMODULE += cc110x
else ifeq ($(strip $(BOARD)),iot-lab_M3)
USEMODULE += at86rf231
endif
USEMODULE += sixlowpan
USEMODULE += rpl

View File

@ -39,6 +39,11 @@
#define TEXT_SIZE CC2420_MAX_DATA_LENGTH
#define _TC_TYPE TRANSCEIVER_CC2420
#elif defined( MODULE_AT86RF231 )
#include "at86rf231.h"
#define TEXT_SIZE AT86RF231_MAX_DATA_LENGTH
#define _TC_TYPE TRANSCEIVER_AT86RF231
#elif defined( MODULE_NATIVENET )
#include "nativenet.h"
#define TEXT_SIZE NATIVE_MAX_DATA_LENGTH

View File

@ -52,7 +52,7 @@ extern void _reset_current_handler(char *unused);
#ifdef DBG_IGNORE
#define _TC_IGN
#endif
#if (defined(MODULE_CC110X_NG) || defined(MODULE_CC2420) || defined(MODULE_NATIVENET))
#if (defined(MODULE_CC110X_NG) || defined(MODULE_CC2420) || defined(MODULE_AT86RF231) || defined(MODULE_NATIVENET))
#define _TC_ADDR
#define _TC_CHAN
#define _TC_MON

View File

@ -55,7 +55,6 @@
#ifdef MODULE_AT86RF231
#include "at86rf231.h"
#include "at86rf231_arch.h"
#endif
#define ENABLE_DEBUG (0)