Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes

AN914

Title:
Dynamic Memory Allocation for the MPLAB® C18 C Compiler
Name:
AN914
Date:
03/14/2004
Author:
Ross M. Fosler
Description:
Dynamic memory allocation is a nice functionality that is provided with virtually all PC-based compilers. However, not all microcontroller compilers have such capability, most likely due to the lack of a sophisticated operating system with memory management. Although most applications are static in nature, there are cases where a need for dynamic allocation of memory resources exists. Examples include any number of network protocols that have a dynamically specified nature. This application note presents a simple and efficient method for dynamic memory allocation without the need of an operating system.
Keywords:
MPLAB C18, Dynamic Memory Allocation, malloc, sralloc, heap
 
Application Notes & Source Code
 Last Updated
Size
 
  AN914
  03/14/2004
  243KB
  AN914 Source Code - Dynamic Memory Allocation for the MPLAB® C18 C Compiler
  02/22/2005
  52KB
Silicon Products