Improved support for the IAR compiler.

io and signal have been moved into contiki include file.
This commit is contained in:
Niclas Finne 2012-03-08 22:39:53 +01:00
parent f67fb672eb
commit c2e07c9798
13 changed files with 17 additions and 144 deletions

View file

@ -44,19 +44,6 @@
* changeable!
*/
#define TYNDALL 1
/* Test for IAR compiler */
#ifdef __IAR_SYSTEMS_ICC__
#include <intrinsics.h>
#include <in430.h>
#define dint() __disable_interrupt()
#define eint() __enable_interrupt()
#define __MSP430F5437__ 1
#define __MSP430__ 1
#define CC_CONF_INLINE
#define BV(x) (1 << x)
#else
#define CC_CONF_INLINE inline
#endif
/* CPU target speed in Hz */
#define F_CPU 8000000uL // 8MHz by default