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;