application writer a chance to override this function. This gives
the application write ability to use a different timer.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2787
1d2547de-c912-0410-9cb9-
b8ca96c0e9e2
/*\r
* Setup the timer to generate the tick interrupts.\r
*/\r
/*\r
* Setup the timer to generate the tick interrupts.\r
*/\r
-static void prvSetupTimerInterrupt( void ) PRIVILEGED_FUNCTION;\r
+void vSetupTimerInterrupt( void ) PRIVILEGED_FUNCTION;\r
\r
/*\r
* Configure a number of standard MPU regions that are used by all tasks.\r
\r
/*\r
* Configure a number of standard MPU regions that are used by all tasks.\r
\r
/* Start the timer that generates the tick ISR. Interrupts are disabled\r
* here already. */\r
\r
/* Start the timer that generates the tick ISR. Interrupts are disabled\r
* here already. */\r
- prvSetupTimerInterrupt();\r
+ vSetupTimerInterrupt();\r
\r
/* Initialise the critical nesting count ready for the first task. */\r
uxCriticalNesting = 0;\r
\r
/* Initialise the critical nesting count ready for the first task. */\r
uxCriticalNesting = 0;\r
* Setup the systick timer to generate the tick interrupts at the required\r
* frequency.\r
*/\r
* Setup the systick timer to generate the tick interrupts at the required\r
* frequency.\r
*/\r
-static void prvSetupTimerInterrupt( void )\r
+__weak void vSetupTimerInterrupt( void )\r
{\r
/* Reset the SysTick. */\r
portNVIC_SYSTICK_CTRL_REG = 0UL;\r
{\r
/* Reset the SysTick. */\r
portNVIC_SYSTICK_CTRL_REG = 0UL;\r