/*\r
- FreeRTOS V8.2.2 - Copyright (C) 2015 Real Time Engineers Ltd.\r
+ FreeRTOS V9.0.0rc2 - Copyright (C) 2016 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
FreeRTOS is free software; you can redistribute it and/or modify it under\r
the terms of the GNU General Public License (version 2) as published by the\r
- Free Software Foundation >>!AND MODIFIED BY!<< the FreeRTOS exception.\r
+ Free Software Foundation >>>> AND MODIFIED BY <<<< the FreeRTOS exception.\r
\r
***************************************************************************\r
>>! NOTE: The modification to the GPL is included to allow you to !<<\r
\r
*pxTopOfStack = (StackType_t) pxCode; /* CP0_EPC */\r
pxTopOfStack--;\r
- \r
- *pxTopOfStack = (StackType_t) 0x00000000; /* DSPControl */ \r
+\r
+ *pxTopOfStack = (StackType_t) 0x00000000; /* DSPControl */\r
pxTopOfStack -= 7; /* Includes space for AC1 - AC3. */\r
\r
*pxTopOfStack = (StackType_t) portTASK_RETURN_ADDRESS; /* ra */\r
pxTopOfStack -= 15;\r
\r
*pxTopOfStack = (StackType_t) pdFALSE; /*by default disable FPU context save on parts with FPU */\r
- \r
+\r
return pxTopOfStack;\r
}\r
/*-----------------------------------------------------------*/\r
*/\r
__attribute__(( weak )) void vApplicationSetupTickTimerInterrupt( void )\r
{\r
-const uint32_t ulCompareMatch = ( (configPERIPHERAL_CLOCK_HZ / portTIMER_PRESCALE) / configTICK_RATE_HZ ) - 1;\r
+const uint32_t ulCompareMatch = ( (configPERIPHERAL_CLOCK_HZ / portTIMER_PRESCALE) / configTICK_RATE_HZ ) - 1UL;\r
\r
T1CON = 0x0000;\r
T1CONbits.TCKPS = portPRESCALE_BITS;\r
extern void vPortInitialiseFPSCR( uint32_t uxFPSCRInit );\r
\r
portENTER_CRITICAL();\r
- \r
+\r
/* Initialise the floating point status register. */\r
- vPortInitialiseFPSCR(portINITIAL_FPSCR); \r
- \r
+ vPortInitialiseFPSCR(portINITIAL_FPSCR);\r
+\r
/* A task is registering the fact that it needs a FPU context. Set the\r
FPU flag (saved as part of the task context). */\r
ulTaskHasFPUContext = pdTRUE;\r
- \r
+\r
portEXIT_CRITICAL();\r
}\r
\r