moved io and signal and IAR-GCC checks from driver files into contiki include file
This commit is contained in:
parent
57ae779373
commit
5b1d9617c4
76 changed files with 72 additions and 370 deletions
|
@ -31,14 +31,6 @@
|
|||
* @(#)$Id: msp430.c,v 1.15 2011/01/05 13:36:38 joxe Exp $
|
||||
*/
|
||||
#include "contiki.h"
|
||||
#ifdef __IAR_SYSTEMS_ICC__
|
||||
#include <msp430.h>
|
||||
#else
|
||||
#include <io.h>
|
||||
#include <signal.h>
|
||||
#include <sys/unistd.h>
|
||||
#define asmv(arg) __asm__ __volatile__(arg)
|
||||
#endif
|
||||
#include "dev/watchdog.h"
|
||||
#include "net/uip.h"
|
||||
|
||||
|
@ -232,8 +224,8 @@ msp430_cpu_init(void)
|
|||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
#
|
||||
#define STACK_EXTRA 32
|
||||
#define asmv(arg) __asm__ __volatile__(arg)
|
||||
|
||||
/*
|
||||
* Allocate memory from the heap. Check that we don't collide with the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue