Quality RTOS & Embedded Software

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


Loading

idle task not number 0 in vTaskStartTrace

Posted by Chris on May 26, 2011
Does it make since for the idle task to not show up as number zero as stated on the FreeRTOS site? I create two tasks and then start the scheduler. When I do a task trace the results were very puzzling at first. I've confirmed the ordering by using vTaskList.

RE: idle task not number 0 in vTaskStartTrace

Posted by Richard on May 26, 2011
The idle task is the last task to be created (unless timers are also being used). I would therefore not expect it to every have a task number of 0.

Originally, in very old versions of FreeRTOS, the idle task was the first to be created. Then, it would be number 0. I suspect the web page you are referring to was correct at that time, but is no longer correct. I would be grateful if you could post the URL of the offending page so I can ensure it gets updated. Thanks.

Regards.

RE: idle task not number 0 in vTaskStartTrace

Posted by Chris on May 26, 2011
http://www.freertos.org/a00086.html

Just below the task chart.


[ 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