FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [September 2016 Threads]
who know how to use the configOVERRIDEDEFAULTTICKCONFIGURATION
when i write "#define configOVERRIDEDEFAULTTICKCONFIGURATION 1"
the project will report the error
Undefined symbol vPortSetupTimerInterrupt (referred from port.o).
I thought this will be a bug about freertos
i use the stm32f103zet6 board.
if anyone thought this will be used.
show me the code about the correct method .~~~!
who know how to use the configOVERRIDEDEFAULTTICK_CONFIGURATION
Me!
when i write "#define configOVERRIDEDEFAULTTICK_CONFIGURATION 1"
the project will report the error
Undefined symbol vPortSetupTimerInterrupt (referred from port.o).
The FreeRTOS Cortex-M ports generate their tick interrupt from the
SysTick clock. However, sometimes that is not convenient for
application writers because they need the SysTick for other purposes.
Therefore in all the Cortex-M ports you can prevent the RTOS from using
the SysTick by replacing the function that sets up the SysTick with a
function that sets up which ever clock you want to generate the tick
interrupt. To do that you have to provide a function call
vPortSetupTimerInterrupt() to actually set up the clock, and install the
FreeRTOS tick interrupt handler as the interrupt service routine for
whichever clock you chose. All the ports, other than the Keil port,
define vPortSetupTimerInterrupt() as a weak symbol, so all you need to
do is provide a function with that name. For historic reasons the Keil
port also needs you to define configOVERRIDEDEFAULTTICK_CONFIGURATION.
I thought this will be a bug about freertos
Why?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.