Quality RTOS & Embedded Software

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


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.


RE: idle task not number 0 in vTaskStartTrace

Posted by Chris on May 26, 2011

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

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

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

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


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Cadence Tensilica Cortes

Espressif ESP32

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

Xilinx Microblaze and Zynq partner