From ce5b6bc9faf38c7feaf5053424176d39e91c7323 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Mon, 31 Jan 2022 21:51:59 +0100 Subject: fixed build --- fw/fe310/bsp/default.lds | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fw/fe310/bsp') diff --git a/fw/fe310/bsp/default.lds b/fw/fe310/bsp/default.lds index cabcf01..6be3f46 100644 --- a/fw/fe310/bsp/default.lds +++ b/fw/fe310/bsp/default.lds @@ -113,7 +113,7 @@ SECTIONS *(.sdata .sdata.* .sdata2.*) *(.gnu.linkonce.s.*) } >itim AT>flash :itim_init -/* >ram AT>flash :ram_init */ +/* } >ram AT>flash :ram_init */ PROVIDE( metal_segment_data_source_start = LOADADDR(.data) ); PROVIDE( metal_segment_data_target_start = ADDR(.data) ); @@ -127,12 +127,13 @@ SECTIONS *(.gnu.linkonce.b.*) *(COMMON) } >itim AT>ram :itim -/* >ram AT>ram :ram */ +/* } >ram AT>ram :ram */ PROVIDE( metal_segment_bss_target_start = ADDR(.bss) ); PROVIDE( metal_segment_bss_target_end = ADDR(.bss) + SIZEOF(.bss) ); __heap_size = 0x4000 - __stack_size; +/* __heap_size = 0x1000; */ .heap : { PROVIDE( metal_segment_heap_target_start = . ); . += __heap_size; -- cgit v1.2.3