mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-07-08 10:45:53 +08:00
Update PIC32 asm code ready for MPLAB compiler V2.
This commit is contained in:
Demo/PIC32MX_MPLAB
@ -70,7 +70,11 @@
|
|||||||
|
|
||||||
/******************************************************************/
|
/******************************************************************/
|
||||||
|
|
||||||
|
#if (__C32_VERSION__ >= 2 )
|
||||||
|
.section .FreeRTOS, code
|
||||||
|
#else
|
||||||
.section .FreeRTOS, "ax", @progbits
|
.section .FreeRTOS, "ax", @progbits
|
||||||
|
#endif
|
||||||
.set noreorder
|
.set noreorder
|
||||||
.set noat
|
.set noat
|
||||||
.ent vT3InterruptWrapper
|
.ent vT3InterruptWrapper
|
||||||
@ -88,7 +92,11 @@ vT3InterruptWrapper:
|
|||||||
|
|
||||||
/******************************************************************/
|
/******************************************************************/
|
||||||
|
|
||||||
|
#if (__C32_VERSION__ >= 2 )
|
||||||
|
.section .FreeRTOS, code
|
||||||
|
#else
|
||||||
.section .FreeRTOS, "ax", @progbits
|
.section .FreeRTOS, "ax", @progbits
|
||||||
|
#endif
|
||||||
.set noreorder
|
.set noreorder
|
||||||
.set noat
|
.set noat
|
||||||
.ent vT4InterruptWrapper
|
.ent vT4InterruptWrapper
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user