Memory usage of FreeRTOS example

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Memory usage of FreeRTOS example

2,918件の閲覧回数
lpcware
NXP Employee
NXP Employee
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
0 件の賞賛
返信
2 返答(返信)

1,831件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by remcopoelstra on Mon Nov 24 02:37:03 MST 2014
Many thanks! This really saved my day.

Regards,

Remco Poelstra
0 件の賞賛
返信

1,831件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by www.FreeRTOS.org on Sat Nov 22 03:48:46 MST 2014
Please see the FAQ "Why does my compiler tell me FreeRTOS is consuming all available RAM" - http://www.freertos.org/FAQMem.html#RAMUse2
0 件の賞賛
返信