From 6ee66d92e76ec8831eac2edd4ec58b07eed89f7a Mon Sep 17 00:00:00 2001 From: ArdaFu Date: Tue, 17 Oct 2017 14:45:31 +0800 Subject: [PATCH] [bsp][sam7x] Fix compile error. Increase DATA section size in .ld file. --- bsp/sam7x/sam7x_rom.ld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bsp/sam7x/sam7x_rom.ld b/bsp/sam7x/sam7x_rom.ld index 2ceb8ee9e..a677e2eba 100644 --- a/bsp/sam7x/sam7x_rom.ld +++ b/bsp/sam7x/sam7x_rom.ld @@ -4,7 +4,7 @@ MEMORY { CODE (rx) : ORIGIN = 0x00100000, LENGTH = 0x00040000 /* DATA (rw) : ORIGIN = 0x00200000, LENGTH = 0x00010000 */ - DATA (rw) : ORIGIN = 0x00204000, LENGTH = 0x0000C000 + DATA (rw) : ORIGIN = 0x00203000, LENGTH = 0x0000D000 } ENTRY(_start) SECTIONS -- GitLab