Quality RTOS & Embedded Software

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


Loading

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)??

Thanks,
Piero

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.

-Ricky


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


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

Latest News

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


Careers

FreeRTOS and other embedded software careers at AWS.



FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Renesas

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

Xilinx Microblaze and Zynq partner