mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-28 12:57:52 +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
|
.section .FreeRTOS, "ax", @progbits
|
||||||
|
#endif
|
||||||
.set noreorder
|
.set noreorder
|
||||||
.set noat
|
.set noat
|
||||||
.ent vT1InterruptHandler
|
.ent vT1InterruptHandler
|
||||||
@ -89,7 +93,11 @@ vT1InterruptHandler:
|
|||||||
|
|
||||||
/******************************************************************/
|
/******************************************************************/
|
||||||
|
|
||||||
|
#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 xPortStartScheduler
|
.ent xPortStartScheduler
|
||||||
@ -106,7 +114,11 @@ vPortStartFirstTask:
|
|||||||
|
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
|
|
||||||
|
#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 vPortYieldISR
|
.ent vPortYieldISR
|
||||||
|
Reference in New Issue
Block a user