Skip to content

Group ns-malloc

Modules > ns-malloc

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

Simple vPortFree wrapper.

void ns_free (
    void * ptr
) 


function ns_malloc

Simple pvPortMalloc wrapper.

void * ns_malloc (
    size_t size
) 


function ns_malloc_init

Empty for now, but placeholder in case we need multi-heap support.

uint8_t ns_malloc_init () 


Macro Definition Documentation

define NS_MALLOC_HEAP_SIZE_IN_K

#define NS_MALLOC_HEAP_SIZE_IN_K `16`