diff --git a/arch/risc-v/src/common/riscv_allocateheap.c b/arch/risc-v/src/common/riscv_allocateheap.c index 7e88b8f8f39..b4c741a0c48 100644 --- a/arch/risc-v/src/common/riscv_allocateheap.c +++ b/arch/risc-v/src/common/riscv_allocateheap.c @@ -64,7 +64,7 @@ * ****************************************************************************/ -void up_allocate_heap(void **heap_start, size_t *heap_size) +void weak_function up_allocate_heap(void **heap_start, size_t *heap_size) { board_autoled_on(LED_HEAPALLOCATE); *heap_start = (void *)g_idle_topstack;