Changing Heap Size for GT60 Processor

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Changing Heap Size for GT60 Processor

1,077 Views
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
Labels (1)
0 Kudos
2 Replies

282 Views
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 Kudos

282 Views
mjcoury
Contributor I
That makes sense.... thanks
0 Kudos