Add optional RF230BB radio driver

This commit is contained in:
dak664 2010-02-16 22:17:51 +00:00
parent b0930cf2ec
commit 53801ffbb1
5 changed files with 265 additions and 43 deletions

View file

@ -32,10 +32,12 @@
*
* @(#)$$
*/
#include "contiki-raven.h"
#if !RF230BB
#include "zmac.h"
#else
extern uint64_t macLongAddr;
#endif
#include "sicslowpan.h"
extern uint64_t rndis_ethernet_addr;
@ -61,7 +63,8 @@ init_net(void)
IPv6 address will be. This will have ff:fe in the middle. */
macLongAddr = (macLongAddr & 0xffffff0000ffffffULL) | (0x000000fffe000000ULL);
#if !RF230BB
ieee15_4ManagerAddress.set_long_addr(macLongAddr);
#endif
}