summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bsp/wch/risc-v/ch32v307v-r1/board/linker_scripts/link.lds1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsp/wch/risc-v/ch32v307v-r1/board/linker_scripts/link.lds b/bsp/wch/risc-v/ch32v307v-r1/board/linker_scripts/link.lds
index fa0c391c5b..af66a10a1c 100644
--- a/bsp/wch/risc-v/ch32v307v-r1/board/linker_scripts/link.lds
+++ b/bsp/wch/risc-v/ch32v307v-r1/board/linker_scripts/link.lds
@@ -198,6 +198,7 @@ SECTIONS
.stack ORIGIN(RAM) + LENGTH(RAM) - __stack_size :
{
+ PROVIDE( _heap_end = . );
. = ALIGN(4);
PROVIDE(_susrstack = . );
. = . + __stack_size;