Keil Logo

Source Code

Source code is provided (in the \KEIL\ARM\LIB folder) for the following library routines:

Library Routine Filename Description
calloc calloc.c Allocates memory for an array of elements.
free free.c Releases memory allocated with calloc, malloc, or realloc.
_getkey getkey.c Waits for a character to be received from the serial port.
init_mempool init_mem.c Initializes the memory pool used by the calloc, free, malloc, and realloc routines.
malloc malloc.c Allocates a memory block from the memory pool.
putchar putchar.c Transmits a character using the serial port.
realloc realloc.c Changes the size of a previously allocated memory block.

You may modify these routines and substitute them for the default routines stored in the library.

  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.