Golden Rule to avoid HEAP issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Golden Rule to avoid HEAP issue

501 次查看
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 回复数