56 extern uint8_t _estack;
57 extern uint32_t _Min_Stack_Size;
58 const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
59 const uint8_t *max_heap = (uint8_t *)stack_limit;
60 uint8_t *prev_heap_end;
78 return (
void *)prev_heap_end;
static uint8_t * __sbrk_heap_end
void * _sbrk(ptrdiff_t incr)
_sbrk() allocates memory to the newlib heap and is used by malloc and others from the C library