AN914 - Dynamic Memory Allocation for the MPLAB® C18 C Compiler - Application Notes - Details
  Application Notes/
Technical Brief
Application Notes
Application Notes by Release Date
Application Notes (alphabetical)
Application Notes - Source Code
SPICE Models
AN914
Title: Dynamic Memory Allocation for the MPLAB® C18 C Compiler
Name: AN914
Date: 3/3/04
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
 Related Information
 
 App Notes and Source Code
  AN914
  AN914 Source Code