Changing Heap Size for GT60 Processor

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

Changing Heap Size for GT60 Processor

1,602件の閲覧回数
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 返答(返信)

807件の閲覧回数
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 件の賞賛
返信

807件の閲覧回数
mjcoury
Contributor I
That makes sense.... thanks
0 件の賞賛
返信