Hello
First note I would not recommend using dynamic memory allocation at all in a HC08 project, due to the limited amount of memory available.
Beside that, the default heap size is defined as 2000 bytes.
If you really want to use dynamic data allocation and wants to use a smaller heap:
- Open file libdefs.h in a text editor
- Change LIBDEF_HEAPSIZE to a smaller value
- Rebuild the library
But once again I would not recommend using dynamic memory allocation in HC08 application.
CrasyCat