Update PIC32 asm code ready for MPLAB compiler V2.

This commit is contained in:
Richard Barry 2011-07-25 15:38:19 +00:00
parent fe6284e807
commit 87b97f5510
2 changed files with 20 additions and 4 deletions

View file

@ -70,7 +70,11 @@
/******************************************************************/ /******************************************************************/
.section .FreeRTOS, "ax", @progbits #if (__C32_VERSION__ >= 2 )
.section .FreeRTOS, code
#else
.section .FreeRTOS, "ax", @progbits
#endif
.set noreorder .set noreorder
.set noat .set noat
.ent vT3InterruptWrapper .ent vT3InterruptWrapper
@ -88,7 +92,11 @@ vT3InterruptWrapper:
/******************************************************************/ /******************************************************************/
.section .FreeRTOS, "ax", @progbits #if (__C32_VERSION__ >= 2 )
.section .FreeRTOS, code
#else
.section .FreeRTOS, "ax", @progbits
#endif
.set noreorder .set noreorder
.set noat .set noat
.ent vT4InterruptWrapper .ent vT4InterruptWrapper

View file

@ -63,7 +63,11 @@
.global vRegTest2 .global vRegTest2
/* .section .FreeRTOS, ax, @progbits */ #if (__C32_VERSION__ >= 2 )
.section .FreeRTOS, code
#else
.section .FreeRTOS, "ax", @progbits
#endif
.set noreorder .set noreorder
.set noat .set noat
.ent vRegTest1 .ent vRegTest1
@ -203,7 +207,11 @@ vRegTest1:
.end vRegTest1 .end vRegTest1
/* .section .FreeRTOS, ax, @progbits */ #if (__C32_VERSION__ >= 2 )
.section .FreeRTOS, code
#else
.section .FreeRTOS, "ax", @progbits
#endif
.set noreorder .set noreorder
.set noat .set noat
.ent vRegTest2 .ent vRegTest2