Quality RTOS & Embedded Software

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


Stack Test for upward growing stack

Posted by Richard Damon on May 29, 2008
I notice the code does not allow you to use stack overflow checking for processors with upward growing stacks (like the dsPIC I am using). Is there a fundamental problem with doing this, or was this more of a need to get arround to it issue.

I may work on writing that code and submitting it to you if there isn't a big issue on why it wasn't already done.

RE: Stack Test for upward growing stack

Posted by sotd on May 29, 2008
Old versions of FreeRTOS used to have both ends of the stack in the control block so the limit at both ends was known high and low. New versions dont have this so only one limit is known. You can add in a variable to hold the high end then it is easy to know when the end of the stack is.

Newest versions have the tag in the control block that could be used.

[ 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.0 is available for immediate download. MIT licensed, and including RISC-V and ARMv8-M (Cortex-M33) demos.

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