33 #define DEBUG_MALLOC_FAILURES 0
38 #if DEBUG_MALLOC_FAILURES
39 static volatile bool wait_here =
true;
52 void *buf = malloc(size);
Main PiOS header to include all the compiled in PiOS options.
size_t PIOS_fastheap_get_free_size(void)
void * PIOS_malloc(size_t size)
void * PIOS_malloc_no_dma(size_t size)
static void malloc_failed_hook(void)
void PIOS_heap_initialize_blocks(void)
void PIOS_free(void *buf)
static volatile bool malloc_failed_flag
bool PIOS_heap_malloc_failed_p(void)
size_t PIOS_heap_get_free_size(void)