Quality RTOS & Embedded Software

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


How to check stack size requirement for Task

Posted by ephobb on January 16, 2016

Hi, i want to know that, how to check minimal stack size requirement for task? because sometimes my task get stack because of Stack size requirement. How to calculate the minimal stack size reuirement?

How to check stack size requirement for Task

Posted by xz8987f on January 16, 2016

That depends on the toolchain you are using. I'm using a static stack analysis tool for GNU: http://mcuoneclipse.com/2015/08/21/gnu-static-stack-usage-analysis/

How to check stack size requirement for Task

Posted by rtel on January 16, 2016

Please see the FAQ on the topic: http://www.freertos.org/FAQMem.html#StackSize - to which I have just added a link to Erich's blog.

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


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


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