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] [October 2009 Threads] AVR32 GCC default linker stack sizePosted by D F on October 27, 2009 Is the default stack that is defined by the linker script in-play after FreeRTOS starts? Or, can it be reduced to free up some RAM as it is 4K by default.?
RE: AVR32 GCC default linker stack sizePosted by MEdwards on October 27, 2009 Normally the stack set up in the linker script is only used before the scheduler is started, although in some ports it is also used by interrupt service routines. Don't know for sure on the AVR32 though, but in any case 4K would seem excessive.
RE: AVR32 GCC default linker stack sizePosted by D F on October 28, 2009 I reduced the default GCC stack to 1K by altering the linker script and it appears to be fine. It looks like the code executed by my program prior to starting the scheduler only uses about 352 bytes of stack max. This freed up 3K more RAM.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|