Quality RTOS & Embedded Software

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


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