aboutsummaryrefslogtreecommitdiff
path: root/prog/link.ld
diff options
context:
space:
mode:
authorFlavian Kaufmann <flavian@flaviankaufmann.ch>2024-05-20 12:18:20 +0200
committerFlavian Kaufmann <flavian@flaviankaufmann.ch>2024-05-20 12:18:20 +0200
commit142510b8325b9ef89bd3e22463f36c3caa2815de (patch)
tree0668f163046a43e98e8345c6bf96e97a652341c9 /prog/link.ld
parent407a3ff54a35cbe99ba6ac743376e9b0e9718fc1 (diff)
downloadriscv_cpu-142510b8325b9ef89bd3e22463f36c3caa2815de.tar.gz
riscv_cpu-142510b8325b9ef89bd3e22463f36c3caa2815de.zip
io
Diffstat (limited to 'prog/link.ld')
-rw-r--r--prog/link.ld8
1 files changed, 4 insertions, 4 deletions
diff --git a/prog/link.ld b/prog/link.ld
index 7bd11eb..9644d59 100644
--- a/prog/link.ld
+++ b/prog/link.ld
@@ -3,8 +3,8 @@
/* Define memory regions */
MEMORY
{
- ROM (rx) : ORIGIN = 0x00010000, LENGTH = 0x400 /* 1024 bytes for ROM */
- RAM (rwx) : ORIGIN = 0x00100000, LENGTH = 0x400 /* 1024 bytes for RAM */
+ ROM (rx) : ORIGIN = 0x00010000, LENGTH = 0x1000 /* 1024 bytes for ROM */
+ RAM (rwx) : ORIGIN = 0x00100000, LENGTH = 0x1000 /* 1024 bytes for RAM */
}
ENTRY(_start)
@@ -43,7 +43,7 @@ SECTIONS
.stack (NOLOAD) :
{
_stack_start = .;
- . += 0x80; /* Adjust the size as needed */
+ . += 0x100; /* Adjust the size as needed */
_stack_end = .;
} > RAM
@@ -51,7 +51,7 @@ SECTIONS
.heap (NOLOAD) :
{
_heap_start = .;
- . += 0x80; /* Adjust the size as needed */
+ . += 0x100; /* Adjust the size as needed */
_heap_end = .;
} > RAM
}