From 3fcf8e45c6dfba11d7ae3b2b41d536c901ecab7e Mon Sep 17 00:00:00 2001 From: "matthias@rpi" Date: Mon, 30 Oct 2023 22:15:09 +0100 Subject: [PATCH] add RAM --- linker.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/linker.conf b/linker.conf index 9d5c403..2855668 100644 --- a/linker.conf +++ b/linker.conf @@ -1,7 +1,9 @@ MEMORY { - ROM: start = $8000, size = $8000, file = %O, fill = yes; + ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes; + RAM: start = $0000, size = $5fff, type = rw, file = "", fill = yes; } SEGMENTS { + RAM: load = RAM, type = bss; CODE: load = ROM, type = ro; RODATA: load = ROM, type = ro; RESET_VECTOR: load = ROM, type = ro, start = $FFFA;