|ARM Technical Support Knowledge Articles|
Applies to: RealView C Compiler
Information in this article applies to:
I am porting code from the Keil C51 or C166 Compiler to the RealView Compiler. I have used the function init_mempool to configure the heap size for the memory allocation functions malloc or calloc. I cannot find this function in the RealView compiler. How should I configure the heap for the memory pool?
For the RealView Compiler the init_mempool function is not required. Instead the memory pool is configured using the symbol Heap_Size in the startup code.
Pre-configured startup code for the various microcontroller devices can be found in the folder ..\ARM\RV30\Startup. This startup files are configured for the RealView compilation tools.
Article last edited on: 2010-03-17 12:01:34
Did you find this article helpful? Yes No
How can we improve this article?