Quality RTOS & Embedded Software

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




Loading

Tick/Scheduler interrupt

Posted by Rob Maris on August 26, 2005
The varios freeRTOS ports provide their own tick interrupts in order to have the scheduler running.
This approach reduces the flexibility of embedded programmers in assigning timer resources to application specific code.

It should be helpful if freeRTOS would contain a #define which disables the internal tick interrupt setup, and rather allows the programmer to use his/her own setup. The programmer is responsible to call the scheduler function within the tick interrupt.

RE: Tick/Scheduler interrupt

Posted by Richard on August 26, 2005
I note your point. This is something that has been considered in the past.

The RTOS tick is often configured in a particular way, also the order within the function is important. Allowing users to create their own could retract from usability, although they always have the choice to leave it as it is.

A couple of other options –
+ Define a tick hook. Call your application code from the tick interrupt.
+ All the source code is provided and the tick interrupt configuration is contained within a single function. You are free to change this to use any timing resource at your disposal.

Regards.


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




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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