diff --git a/linker.conf b/linker.conf index 4279b51..67268f6 100644 --- a/linker.conf +++ b/linker.conf @@ -3,7 +3,7 @@ MEMORY { # RAM: start = $0100, size = $5eff, type = rw, file = "", fill = yes; STACK: start = $0100, size = $0100, type = rw, file = "", fill = yes; RAM: start = $0200, size = $4e00, type = rw, file = "", fill = yes; - SPI: start = $5000, size = $1000, type = rw, file = "../spi.bin", fill = no; + SPI: start = $5000, size = $1000, type = rw, file = "../spi.bin", fill = no, define = yes; VIA1: start = $6000, size = $000f, type = rw, file = "", fill = yes; VIA2: start = $7000, size = $000f, type = rw, file = "", fill = yes; ROM: start = $8000, size = $8000, type = ro, file = %O, fill = yes; @@ -15,8 +15,8 @@ SEGMENTS { ZEROPAGE: load = RAM_ZP, type = bss, start = $0; BSS: load = RAM, type = bss; CODE: load = ROM, type = ro; - RODATA: load = ROM, type = ro; + RODATA: load = ROM, type = ro, align = $800; RESET_VECTOR: load = ROM, type = ro, start = $FFFA; - SPI: load = SPI, type = rw, define = yes; + SPI: load = SPI, type = rw; TEST: load = TEST,type = rw; }