Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch.embedded > #27870

FreeRTOS memory footprint reduction at build time

From John Speth <johnspeth@yahoo.com>
Newsgroups comp.arch.embedded
Subject FreeRTOS memory footprint reduction at build time
Date 2018-07-05 17:29 -0700
Organization Aioe.org NNTP Server
Message-ID <phmd7m$1kas$1@gioia.aioe.org> (permalink)

Show all headers | View raw


Hi Folks-

FreeRTOS has a build config file (FreeRTOSConfig.h) that users can apply 
at build time to customize the RTOS.  The FreeRTOS web site has a page 
to describe the options (https://www.freertos.org/a00110.html).  What it 
doesn't have is any hints about how much RAM it might save me.

Does anybody have any first hand advice about how much RAM each option 
might contribute to the RAM footprint?  Google isn't helping me.

I'm trying prepare an STM32L151 to accommodate my as yet unwritten 
application code with FreeRTOS.  The map file is showing me that 
FreeRTOS is using 15,000 bytes of RAM.  The HAL and startup/interrupt 
codes use 2,400 bytes of RAM.  That leaves me with about 14,800 bytes 
for application code.  I would like to be prepared to reduce the 
FreeRTOS RAM footprint if I need to in the future.

I know I can elevate optimization (presently set to none) but I don't 
want to do that this early in the code-writing stage because it makes 
the debugger present better steppable code.

Thanks - JJS

Back to comp.arch.embedded | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

FreeRTOS memory footprint reduction at build time John Speth <johnspeth@yahoo.com> - 2018-07-05 17:29 -0700
  Re: FreeRTOS memory footprint reduction at build time Joe Chisolm <jchisolm6@earthlink.net> - 2018-07-06 00:12 -0500
    Re: FreeRTOS memory footprint reduction at build time John Speth <johnspeth@yahoo.com> - 2018-07-06 09:18 -0700
  Re: FreeRTOS memory footprint reduction at build time Jack <jack4747@gmail.com> - 2018-07-05 22:37 -0700
    Re: FreeRTOS memory footprint reduction at build time John Speth <johnspeth@yahoo.com> - 2018-07-06 09:15 -0700
      Re: FreeRTOS memory footprint reduction at build time "QL" <80499@EmbeddedRelated> - 2018-07-10 11:30 -0500

csiph-web