Skip to content

Commit

Permalink
Allow memory managment to be overridden with RTOS
Browse files Browse the repository at this point in the history
  • Loading branch information
ppescher committed Sep 25, 2018
1 parent c604a29 commit 169ced0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cores/arduino/syscalls_stm32.c
Expand Up @@ -27,6 +27,7 @@ extern size_t uart_debug_write(uint8_t *data, uint32_t size);

register char * stack_ptr asm("sp");

__attribute__((weak))
caddr_t _sbrk( int incr ) {
extern char _end; /* Defined by the linker */
static char *heap_end = NULL ;
Expand Down

0 comments on commit 169ced0

Please sign in to comment.