This macro function controls the
__heap_initial_size constant, to override the program's default heap size which is 4096 bytes. The default configuration of the program heap manager allows additional heap memory to be requested from the system. Nevertheless, it is recommended that this macro be used on applications where you know that a lot of heap space will be required. This will make the system run somewhat more efficiently.
Also note that the heap increment quantum step size can be tuned.
The size must be a constant expression.
- This would be placed in one of your C files outside the scope of any module to specify 64 kByte heap space.
- SC2x3 V1.00 - CLIB V1.00
- This macro does not exists in the SC1x, SC2x and SC1x3 C-Library.
- See also:
- setHeapIncrement setStackSize setProgramAttributes