12#ifndef __METAL_ALLOC__H__
13#error "Include metal/alloc.h instead of metal/nuttx/alloc.h"
16#ifndef __METAL_NUTTX_ALLOC__H__
17#define __METAL_NUTTX_ALLOC__H__
19#include <nuttx/kmalloc.h>
27 return kmm_malloc(size);
static void * metal_allocate_memory(unsigned int size)
allocate requested memory size return a pointer to the allocated memory
static void metal_free_memory(void *ptr)
free the memory previously allocated