Skip to content

Commit 169ced0

Browse files
committed
Allow memory managment to be overridden with RTOS
1 parent c604a29 commit 169ced0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/syscalls_stm32.c

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ extern size_t uart_debug_write(uint8_t *data, uint32_t size);
2727

2828
register char * stack_ptr asm("sp");
2929

30+
__attribute__((weak))
3031
caddr_t _sbrk( int incr ) {
3132
extern char _end; /* Defined by the linker */
3233
static char *heap_end = NULL ;

0 commit comments

Comments
 (0)