summaryrefslogtreecommitdiff
path: root/fw/fe310/bsp/default.lds
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2022-01-31 21:51:59 +0100
committerUros Majstorovic <majstor@majstor.org>2022-01-31 21:51:59 +0100
commitce5b6bc9faf38c7feaf5053424176d39e91c7323 (patch)
tree6b778a085a253c056eadb31797463928a8ebfd3b /fw/fe310/bsp/default.lds
parentdcdc68164b16831c1e5bd6bbd5fa9c0aecacf890 (diff)
fixed build
Diffstat (limited to 'fw/fe310/bsp/default.lds')
-rw-r--r--fw/fe310/bsp/default.lds5
1 files changed, 3 insertions, 2 deletions
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;