Explorar o código

[bsp][ch32v307v] add _head_end for link file

Meco Man %!s(int64=2) %!d(string=hai) anos
pai
achega
0750b71e27
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      bsp/wch/risc-v/ch32v307v-r1/board/linker_scripts/link.lds

+ 1 - 0
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;