Skip to content

File ns_malloc.h

FileList > includes-api > ns_malloc.h

Go to the source code of this file

  • #include "FreeRTOS.h"
  • #include "am_bsp.h"
  • #include "am_mcu_apollo.h"
  • #include "am_util.h"
  • #include "portable.h"
  • #include "portmacro.h"
  • #include "rtos.h"

Public Functions

Type Name
void ns_free (void * ptr)
Simple vPortFree wrapper.
void * ns_malloc (size_t size)
Simple pvPortMalloc wrapper.
uint8_t ns_malloc_init ()
Empty for now, but placeholder in case we need multi-heap support.

Macros

Type Name
define NS_MALLOC_HEAP_SIZE_IN_K 16

Public Functions Documentation

function ns_free

void ns_free (
    void * ptr
) 

function ns_malloc

void * ns_malloc (
    size_t size
) 

function ns_malloc_init

uint8_t ns_malloc_init () 

Macro Definition Documentation

define NS_MALLOC_HEAP_SIZE_IN_K

#define NS_MALLOC_HEAP_SIZE_IN_K 16

The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-utils/includes-api/ns_malloc.h