fixed cpu/msp430 for compilation with IAR compiler

This commit is contained in:
Joakim Eriksson 2011-04-06 20:08:48 +02:00
parent 26f0a6e88e
commit 928bf6b6c1
9 changed files with 76 additions and 7 deletions

View file

@ -35,7 +35,14 @@
#include "sys/cc.h"
#ifdef __GNUC__
#include <io.h>
#include <signal.h>
#endif
#ifdef __IAR_SYSTEMS_ICC__
#include <io430.h>
#endif
#define HWCONF_PIN(name, port, bit) \
static CC_INLINE void name##_SELECT() {P##port##SEL &= ~(1 << bit);} \