/*\r
- FreeRTOS V7.5.0 - Copyright (C) 2013 Real Time Engineers Ltd.\r
+ FreeRTOS V7.6.0 - Copyright (C) 2013 Real Time Engineers Ltd. \r
+ All rights reserved\r
\r
VISIT http://www.FreeRTOS.org TO ENSURE YOU ARE USING THE LATEST VERSION.\r
\r
pxTopOfStack -= 20;\r
\r
/* Fill the registers with known values to assist debugging. */\r
- pxTopOfStack[ 16 ] = portKERNEL_INTERRUPT_PRIORITY_LEVEL;\r
+ pxTopOfStack[ 16 ] = 0;\r
pxTopOfStack[ 15 ] = portINITIAL_PSR;\r
pxTopOfStack[ 14 ] = ( unsigned long ) pxCode;\r
pxTopOfStack[ 13 ] = 0x00000000UL; /* R15. */\r
/* Set-up the timer interrupt. */\r
prvSetupTimerInterrupt();\r
\r
- /* Enable the TRAP yield. */\r
- irq[ portIRQ_TRAP_YIELD ].ien = 1;\r
- irq[ portIRQ_TRAP_YIELD ].ipl = portKERNEL_INTERRUPT_PRIORITY_LEVEL;\r
-\r
/* Integrated Interrupt Controller: Enable all interrupts. */\r
ic->ien = 1;\r
\r
\r
/* Set the IRQ Handler priority and enable it. */\r
irq[ IRQ_COUNTER1 ].ien = 1;\r
- irq[ IRQ_COUNTER1 ].ipl = portKERNEL_INTERRUPT_PRIORITY_LEVEL;\r
}\r
/*-----------------------------------------------------------*/\r
\r