aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Schodet2010-01-17 19:00:26 +0100
committerNicolas Schodet2010-08-20 00:18:21 +0200
commit39668ecb5ca8c74b8fedd75a6d80efb9d89a3f7f (patch)
tree9bb46a8166f950a0fe561f3e959bde0bdd306d3f
parent7b887e811eb9b197ee9106191a587954464097ef (diff)
gcc: use standard AT91SAM7S256 definitions
-rw-r--r--AT91SAM7S256/SAM7S256/Include/sam7s256.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/AT91SAM7S256/SAM7S256/Include/sam7s256.h b/AT91SAM7S256/SAM7S256/Include/sam7s256.h
index 332e39d..0118c40 100644
--- a/AT91SAM7S256/SAM7S256/Include/sam7s256.h
+++ b/AT91SAM7S256/SAM7S256/Include/sam7s256.h
@@ -15,7 +15,11 @@
#ifndef SAM7S256_H
#define SAM7S256_H
+#ifdef __IAR_SYSTEMS_ICC__
#include "ioat91sam7s256.h"
+#else
+#include "AT91SAM7S256.h"
+#endif
#define SAM7S256