fixed Sky platform for IAR compiler

This commit is contained in:
Joakim Eriksson 2011-09-11 17:18:02 +02:00
parent d01df43a0c
commit 95dde73618
17 changed files with 149 additions and 22 deletions

View file

@ -29,10 +29,15 @@
* @(#)$Id: spi.c,v 1.1 2006/06/17 22:41:21 adamdunkels Exp $
*/
#include <io.h>
#include "contiki-conf.h"
#ifdef __IAR_SYSTEMS_ICC__
#include <msp430.h>
#else
#include <io.h>
#endif
/*
* On the Tmote sky access to I2C/SPI/UART0 must always be
* exclusive. Set spi_busy so that interrupt handlers can check if