fixed cpu/msp430 for compilation with IAR compiler
This commit is contained in:
parent
26f0a6e88e
commit
928bf6b6c1
9 changed files with 76 additions and 7 deletions
|
@ -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);} \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue