summaryrefslogtreecommitdiff
path: root/FreeRTOS/Source/portable/IAR/ARM_CM0/port.c
diff options
context:
space:
mode:
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2019-12-30 22:24:58 +0000
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2019-12-30 22:24:58 +0000
commitbcea876f7817adc8baec769486e003cd51548acf (patch)
treed4450fe29a8a4ff3ed4dd75ab58601aacb839d10 /FreeRTOS/Source/portable/IAR/ARM_CM0/port.c
parent5863eb7cb3775f176bbc131f66621d0356fc872d (diff)
downloadfreertos-bcea876f7817adc8baec769486e003cd51548acf.tar.gz
Previously the STM32F0518 compiler setting was changed to enable the use of the __weak attribute - however changing the port layer to use #pragma weak in place of __weak means the compiler setting change is not required and removes the risk of introducing incompatibilities - so this check in reverts the compiler settings change.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2784 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Source/portable/IAR/ARM_CM0/port.c')
-rw-r--r--FreeRTOS/Source/portable/IAR/ARM_CM0/port.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/FreeRTOS/Source/portable/IAR/ARM_CM0/port.c b/FreeRTOS/Source/portable/IAR/ARM_CM0/port.c
index 84f1e66e0..08b59f3d4 100644
--- a/FreeRTOS/Source/portable/IAR/ARM_CM0/port.c
+++ b/FreeRTOS/Source/portable/IAR/ARM_CM0/port.c
@@ -96,6 +96,7 @@ power functionality only. */
* file is weak to allow application writers to change the timer used to
* generate the tick interrupt.
*/
+#pragma weak vPortSetupTimerInterrupt
void vPortSetupTimerInterrupt( void );
/*
@@ -235,7 +236,7 @@ uint32_t ulPreviousMask;
* Setup the systick timer to generate the tick interrupts at the required
* frequency.
*/
-__weak void vPortSetupTimerInterrupt( void )
+void vPortSetupTimerInterrupt( void )
{
/* Calculate the constants required to configure the tick interrupt. */
#if( configUSE_TICKLESS_IDLE == 1 )