Skip to content

Commit 7524ff3

Browse files
committed
fix __sheap
1 parent b668cd5 commit 7524ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex-m-rt/link.x.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ PROVIDE(_stext = __einterrupts);
149149
/* Place `.bss` at the start of the RAM region */
150150
__sidata = LOADADDR(.data);
151151
/* Place the heap right after `.bss` and `.data` */
152-
__sheap = __edata;
152+
__sheap = __ebss;
153153

154154
/* # Sanity checks */
155155

0 commit comments

Comments
 (0)