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] Task Stack SizePosted by chinamay kumar on May 15, 2008 Hi all,
i configure stack size of task=270. i created a task which call many functions. where all local variables of these function called by task will be stored? is this memoey initialisation done by rtos or at compile time?
RE: Task Stack SizePosted by Jaroslav Fojtik on May 15, 2008 Looking into a source code a heap is used:
/* Allocate space for the stack used by the task being created. The base of the stack memory stored in the TCB so the task can be deleted later if required. */ pxNewTCB->pxStack = ( portSTACK_TYPE * ) pvPortMalloc( ( ( size_t )usStackDepth ) * sizeof( portSTACK_TYPE ) );
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|