50#define PRINTF(...) printf(__VA_ARGS__)
74 extern uint8_t _eheap;
76 static uint8_t *heap_end = &_heap;
77 uint8_t *prev_heap_end = heap_end;
79 if(heap_end + incr > &_eheap) {
80 PRINTF(
"Out of heap space!\n");
86 return (caddr_t)prev_heap_end;
caddr_t _sbrk(int incr)
Enlarges the allocated heap space.