Quality RTOS & Embedded Software

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


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 ]    [ 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.

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