View test_malloc.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <malloc.h> | |
#include <errno.h> | |
// Set this if you want to use the sbrk definition written in this file | |
//#define OVERRIDE_SBRK | |
// Platform specific definition: | |
// Symbols that references the start and the end of the .heap section. | |
#define HEAP_SECTION_START_SYMBOL _pvHeapStart |