Microchip® Advanced Software Framework

heap_1.c File Reference
#include <stdlib.h>
#include "FreeRTOS.h"
#include "task.h"

Macros

#define configADJUSTED_HEAP_SIZE   ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT )
 
#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE
 

Functions

void * pvPortMalloc (size_t xWantedSize)
 
void vPortFree (void *pv)
 
void vPortInitialiseBlocks (void)
 
size_t xPortGetFreeHeapSize (void)
 

Variables

static uint8_t ucHeap [configTOTAL_HEAP_SIZE]
 
static size_t xNextFreeByte = ( size_t ) 0
 

#define configADJUSTED_HEAP_SIZE   ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT )
#define MPU_WRAPPERS_INCLUDED_FROM_API_FILE

void vPortFree ( void *  pv)
void vPortInitialiseBlocks ( void  )

References xNextFreeByte.

size_t xPortGetFreeHeapSize ( void  )

uint8_t ucHeap[configTOTAL_HEAP_SIZE]
static

Referenced by pvPortMalloc().

size_t xNextFreeByte = ( size_t ) 0
static