]> git.sur5r.net Git - freertos/commitdiff
RVDS/Keil weak linkage for vPortSetupTimerInterrupt() -- CM4F, CM3
authoryuhzheng <yuhzheng@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 18 Dec 2019 02:08:06 +0000 (02:08 +0000)
committeryuhzheng <yuhzheng@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 18 Dec 2019 02:08:06 +0000 (02:08 +0000)
Test steps are documented in this PR https://github.com/aws/amazon-freertos/pull/1141.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2763 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

FreeRTOS/Source/portable/RVDS/ARM_CM3/port.c
FreeRTOS/Source/portable/RVDS/ARM_CM4F/port.c

index 42d48157a864667f3adc0935dd1d60a74ac35f87..dea221b146b7995ea8ed9bcf85c592e4f9c64b60 100644 (file)
@@ -1,4 +1,4 @@
-/*\r
+-/*\r
  * FreeRTOS Kernel V10.2.1\r
  * Copyright (C) 2019 Amazon.com, Inc. or its affiliates.  All Rights Reserved.\r
  *\r
@@ -603,7 +603,7 @@ void xPortSysTickHandler( void )
  */\r
 #if( configOVERRIDE_DEFAULT_TICK_CONFIGURATION == 0 )\r
 \r
-       void vPortSetupTimerInterrupt( void )\r
+       __weak void vPortSetupTimerInterrupt( void )\r
        {\r
                /* Calculate the constants required to configure the tick interrupt. */\r
                #if( configUSE_TICKLESS_IDLE == 1 )\r
index d3d42cfc810e4e5185010e3a9ac507aeb26b369a..6a9cbbf2515c99ade5e929a7d1695c690b089ada 100644 (file)
@@ -693,7 +693,7 @@ void xPortSysTickHandler( void )
  */\r
 #if( configOVERRIDE_DEFAULT_TICK_CONFIGURATION == 0 )\r
 \r
-       void vPortSetupTimerInterrupt( void )\r
+       __weak void vPortSetupTimerInterrupt( void )\r
        {\r
                /* Calculate the constants required to configure the tick interrupt. */\r
                #if( configUSE_TICKLESS_IDLE == 1 )\r