Updated AVR port projects to build with IAR and AVR Studio.

This commit is contained in:
skarg
2012-04-25 19:05:59 +00:00
parent e65ec668e5
commit 972afaa974
3 changed files with 13 additions and 7 deletions
+6 -6
View File
@@ -10,7 +10,7 @@
<debug>1</debug>
<settings>
<name>General</name>
<archiveVersion>9</archiveVersion>
<archiveVersion>10</archiveVersion>
<data>
<version>8</version>
<wantNonLocal>1</wantNonLocal>
@@ -127,8 +127,8 @@
</option>
<option>
<name>New Variant Processor</name>
<version>30</version>
<state>57</state>
<version>33</version>
<state>62</state>
</option>
<option>
<name>GRuntimeLibSelect</name>
@@ -1000,7 +1000,7 @@
<debug>0</debug>
<settings>
<name>General</name>
<archiveVersion>9</archiveVersion>
<archiveVersion>10</archiveVersion>
<data>
<version>8</version>
<wantNonLocal>1</wantNonLocal>
@@ -1117,8 +1117,8 @@
</option>
<option>
<name>New Variant Processor</name>
<version>30</version>
<state>57</state>
<version>33</version>
<state>62</state>
</option>
<option>
<name>GRuntimeLibSelect</name>
@@ -252,6 +252,7 @@
<state>MAX_APDU=50</state>
<state>BIG_ENDIAN=0</state>
<state>MAX_TSM_TRANSACTIONS=0</state>
<state>MSTP_PDU_PACKET_COUNT=2</state>
<state>BACAPP_BOOLEAN</state>
<state>BACAPP_REAL</state>
<state>BACAPP_OBJECT_ID</state>
@@ -424,6 +425,7 @@
<name>newCCIncludePaths</name>
<state>$PROJ_DIR$</state>
<state>$PROJ_DIR$\..\..\include</state>
<state>$PROJ_DIR$\..\..\demo\object</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1244,6 +1246,7 @@
<state>MAX_APDU=128</state>
<state>BIG_ENDIAN=0</state>
<state>MAX_TSM_TRANSACTIONS=0</state>
<state>MSTP_PDU_PACKET_COUNT=2</state>
<state>BACAPP_BOOLEAN</state>
<state>BACAPP_REAL</state>
<state>BACAPP_OBJECT_ID</state>
+4 -1
View File
@@ -238,7 +238,10 @@ typedef struct {
/* Interrupts */
#if defined(__ICCAVR__)
#define PRAGMA(x) _Pragma( #x )
#define ISR(vec) PRAGMA( vector=vec ) __interrupt void handler_##vec(void)
#define ISR(vec) \
/* function prototype for use with "require protoptypes" option. */ \
PRAGMA( vector=vec ) __interrupt void handler_##vec(void); \
PRAGMA( vector=vec ) __interrupt void handler_##vec(void)
#elif defined(__GNUC__)
#include <avr/interrupt.h>
#elif defined (__CROSSWORKS_AVR)