Changing Heap Size for GT60 Processor

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

Changing Heap Size for GT60 Processor

1,628 次查看
mjcoury
Contributor I
Hello All -

I am running an older bit zigbee / 802.15.4 demo code and I need to change the size of the Heap from 2K to something more reasonable... I am changing the value in the libdefs.h but it is not updated in the map file after I recompile the project.... is thee another spot where this would be set?


Thanks

Mike
标签 (1)
0 项奖励
回复
2 回复数

833 次查看
CompilerGuru
NXP Employee
NXP Employee
The actually used area is defined in heap.c, so you have to recompile it.
Either recompiling the complete ansi library (lib\hc08c\hc08_lib.mcp),
or by adding lib\hc08c\src\heap.c to your project, move it in the linker tab before the ansi library and build it (not tried, but can imagine that this causes some linker warnings tough)

Daniel
0 项奖励
回复

833 次查看
mjcoury
Contributor I
That makes sense.... thanks
0 项奖励
回复