Quality RTOS & Embedded Software

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


ARM7. Stack Size for Sys and User mode

Posted by Piero B on June 25, 2008
Hi all. Hi Richard

I have a doubt.
FREERTOS start in supervisor mode (port on ARM7 core), and when scheduler starts, change in sys mode. But after this, i have idle task and application tasks, which have their stack area in freertos heap memory. So, i can choose for CSTACK (user mode) (in startup file) a very low size? (i suppose that this memory area will never be used)??


RE: ARM7. Stack Size for Sys and User mode

Posted by Ricky on June 25, 2008
Hi, Piero!

CSTACK isn't used so you don't even have to define it in your linker definition file. I've completely eliminated it in mine.

I'm using an STR750 (ARM7 core) with the IAR v4 compiler.


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

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10.0.1 is available for immediate download. Now MIT licensed.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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