Keil Logo

ARMCC: INIT_MEMPOOL FOR HEAP SETUP DOES NOT EXIST


Information in this article applies to:

  • RealView C Compiler Version 3

QUESTION

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?

ANSWER

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.

MORE INFORMATION

SEE ALSO

Last Reviewed: Wednesday, January 25, 2017


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.