FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [May 2008 Threads] Stack Test for upward growing stackPosted 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 stackPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|