mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-27 20:38:06 +08:00
Update PIC32 asm code ready for MPLAB compiler V2.
This commit is contained in:
@ -71,7 +71,11 @@
|
||||
|
||||
/******************************************************************/
|
||||
|
||||
#if (__C32_VERSION__ >= 2 )
|
||||
.section .FreeRTOS, code
|
||||
#else
|
||||
.section .FreeRTOS, "ax", @progbits
|
||||
#endif
|
||||
.set noreorder
|
||||
.set noat
|
||||
.ent vT1InterruptHandler
|
||||
@ -89,7 +93,11 @@ vT1InterruptHandler:
|
||||
|
||||
/******************************************************************/
|
||||
|
||||
#if (__C32_VERSION__ >= 2 )
|
||||
.section .FreeRTOS, code
|
||||
#else
|
||||
.section .FreeRTOS, "ax", @progbits
|
||||
#endif
|
||||
.set noreorder
|
||||
.set noat
|
||||
.ent xPortStartScheduler
|
||||
@ -106,7 +114,11 @@ vPortStartFirstTask:
|
||||
|
||||
/*******************************************************************/
|
||||
|
||||
#if (__C32_VERSION__ >= 2 )
|
||||
.section .FreeRTOS, code
|
||||
#else
|
||||
.section .FreeRTOS, "ax", @progbits
|
||||
#endif
|
||||
.set noreorder
|
||||
.set noat
|
||||
.ent vPortYieldISR
|
||||
|
Reference in New Issue
Block a user