Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


Loading

configOVERRIDE_DEFAULT_TICK_CONFIGURATION

Posted by lt6210925 on September 29, 2016

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 .~~~!


configOVERRIDE_DEFAULT_TICK_CONFIGURATION

Posted by rtel on September 29, 2016

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?


[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]


Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner