lpcware

Memory usage of FreeRTOS example

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by remcopoelstra on Fri Nov 21 07:23:06 MST 2014
Hi,

I'm using an LPC11A12 (4kB RAM) and compiled the FreeRTOS blinky example. Works great, but the size of the executable is reported as:

text   data    bss    dec    hexfilename
   6368     36   3392   9796   2644nxp_lpcxpresso_11u37h_freertos_blinky.axf

As (static) RAM usage is data+bss in size, does this mean that blinking three LED's takes up almost all memory?
I suppose I also need some stack and heap to create the actual tasks, so that leaves little room for communication buffers etc.

Thanks in advance.

Kind regards,

Remco Poelstra

Outcomes