summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSadeep Madurange <sadeep@asciimx.com>2024-09-11 21:57:26 +0800
committerSadeep Madurange <sadeep@asciimx.com>2024-09-11 21:57:26 +0800
commita4499b0ceab85cdd028e11d191bd5456f10ed074 (patch)
tree26d2e0cb0fea370b6a925b664d5e5cceae3850ed
parent0ed95929becd9d639de7ade1fedde50d185ee9ed (diff)
downloadbare-metal-arduino-due-a4499b0ceab85cdd028e11d191bd5456f10ed074.tar.gz
Use more readable size spec.
-rw-r--r--script.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/script.ld b/script.ld
index 5f7f99e..24129f5 100644
--- a/script.ld
+++ b/script.ld
@@ -2,8 +2,8 @@ ENTRY(main)
MEMORY
{
- rom (rx) : ORIGIN = 0x00080000, LENGTH = 0x00080000
- ram (rwx) : ORIGIN = 0x20000000, LENGTH = 0x00010000
+ rom (rx) : ORIGIN = 0x00080000, LENGTH = 512K
+ ram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
}
SECTIONS