Golden Rule to avoid HEAP issue

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

Golden Rule to avoid HEAP issue

458件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by riscy00 on Sun Jan 06 23:26:28 MST 2013
Hi for C (LPC1114) and later C++ (LPC1768)

What the golden rules (for Cortex/ARM device) to avoids or minimize heap issue, in such context avoid "bad" programming during the coding.

What memall() useful for?, what wrong in declaring the variable array that is fixed to memory location (...done that before in Keil for chuck memory transfer between RAM and FLASH). I'm currently using LXPCexpresso (and later CodeRed suite NXP 256K). 

I have read about the stack and heap in google and familar with const char where text goes to FLASH and so on. I like to know more how to avoid risk of stack overflow issue.
0 件の賞賛
返信
0 返答(返信)