diff --git a/boards/risc-v/bl602/bl602evb/scripts/ld.script b/boards/risc-v/bl602/bl602evb/scripts/ld.script index 1ca5861350..74ed85d9ef 100644 --- a/boards/risc-v/bl602/bl602evb/scripts/ld.script +++ b/boards/risc-v/bl602/bl602evb/scripts/ld.script @@ -168,6 +168,8 @@ SECTIONS *(COMMON) } > ram_tcm + . = ALIGN(4); + PROVIDE( _heap_start = . ); PROVIDE( _heap_size = ADDR(.stack) - _heap_start );