mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
fix includes and shell commands for at86rf231
This commit is contained in:
parent
41f7ab8c91
commit
f379eefbd8
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -55,7 +55,6 @@
|
||||
|
||||
#ifdef MODULE_AT86RF231
|
||||
#include "at86rf231.h"
|
||||
#include "at86rf231_arch.h"
|
||||
#endif
|
||||
|
||||
#define ENABLE_DEBUG (0)
|
||||
|
Loading…
Reference in New Issue
Block a user