Quality RTOS & Embedded Software

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




Loading

Coroutine Stack Choices

Posted by John W. on May 12, 2006
Richard,

I applaud your addition of Co-Routines to FreeRTOS.

Is there a way to choose 'which' stack is used for a co-routine?

Some targets have one assigned stack space plus the task stacks. In order to save memory - either the 'system' stack or the task stacks would have to be reused - I was just wondering if there's a way to do this. I took a quick look at the docs and examples - I know you've said 'more to come' as far as co-routines are concerned.

Thanks,
John W.

RE: Coroutine Stack Choices

Posted by Nobody/Anonymous on May 12, 2006
[msg from richardbarry, can't log in for some reason]

Currently all the co-routines have to execute in within the same task, and will use the stack of that task. If you can assign the stack of that task to memory area you require then the co-routines will use it. It is not too flexible so far.

Regards.

RE: Coroutine Stack Choices

Posted by John W. on May 13, 2006
Richard,

I know it's a work in progress - and it'll only get better.

Thanks!
John


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists