From b782f2d398b92ab03df2be4589f01be8b08da632 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 22 Jan 2010 03:19:12 +0000 Subject: [PATCH] Fix link address git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2520 42af7a65-404d-4744-a932-0658087f49c3 --- configs/sam3u-ek/ostest/ld.script | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/configs/sam3u-ek/ostest/ld.script b/configs/sam3u-ek/ostest/ld.script index 688d0b3995..b1764bc372 100755 --- a/configs/sam3u-ek/ostest/ld.script +++ b/configs/sam3u-ek/ostest/ld.script @@ -1,7 +1,7 @@ /**************************************************************************** * configs/sam3u-ek/ostest/ld.script * - * Copyright (C) 2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2009-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt * * Redistribution and use in source and binary forms, with or without @@ -33,8 +33,8 @@ * ****************************************************************************/ -/* The XXXXXX has 512Kb of FLASH beginning at address 0x0800:0000 and - * 64Kb of SRAM beginning at address 0x2000:0000. When booting from FLASH, +/* The AT91SAM3U-4 has 256Kb of FLASH beginning at address 0x0008:0000 and + * 48Kb of SRAM beginning at address 0x2000:0000. When booting from FLASH, * FLASH memory is aliased to address 0x0000:0000 where the code expects to * begin execution by jumping to the entry point in the 0x0800:0000 address * range. @@ -42,8 +42,8 @@ MEMORY { - flash (rx) : ORIGIN = 0x08000000, LENGTH = 512K - sram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K + flash (rx) : ORIGIN = 0x00080000, LENGTH = 256K + sram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K } OUTPUT_ARCH(arm)