Quality RTOS & Embedded Software

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




Loading

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




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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