Make use of the EVEN assembler directive in the IAR MSP430X port layer.
This commit is contained in:
parent
10bc087ef9
commit
1b04552233
@ -104,6 +104,7 @@ portRESTORE_CONTEXT macro
|
||||
*/
|
||||
|
||||
RSEG CODE
|
||||
EVEN
|
||||
|
||||
vPortTickISR:
|
||||
|
||||
@ -124,6 +125,8 @@ vPortTickISR:
|
||||
/*
|
||||
* Manual context switch called by the portYIELD() macro.
|
||||
*/
|
||||
EVEN
|
||||
|
||||
vPortYield:
|
||||
|
||||
/* The sr needs saving before it is modified. */
|
||||
@ -148,6 +151,8 @@ vPortYield:
|
||||
* Start off the scheduler by initialising the RTOS tick timer, then restoring
|
||||
* the context of the first task.
|
||||
*/
|
||||
EVEN
|
||||
|
||||
xPortStartScheduler:
|
||||
|
||||
/* Setup the hardware to generate the tick. Interrupts are disabled
|
||||
|
Reference in New Issue
Block a user