Fix link address

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2520 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2010-01-22 03:19:12 +00:00
parent 72e2e850a6
commit b782f2d398

View File

@ -1,7 +1,7 @@
/**************************************************************************** /****************************************************************************
* configs/sam3u-ek/ostest/ld.script * 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 <spudmonkey@racsa.co.cr> * Author: Gregory Nutt <spudmonkey@racsa.co.cr>
* *
* Redistribution and use in source and binary forms, with or without * 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 /* The AT91SAM3U-4 has 256Kb of FLASH beginning at address 0x0008:0000 and
* 64Kb of SRAM beginning at address 0x2000:0000. When booting from FLASH, * 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 * 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 * begin execution by jumping to the entry point in the 0x0800:0000 address
* range. * range.
@ -42,8 +42,8 @@
MEMORY MEMORY
{ {
flash (rx) : ORIGIN = 0x08000000, LENGTH = 512K flash (rx) : ORIGIN = 0x00080000, LENGTH = 256K
sram (rwx) : ORIGIN = 0x20000000, LENGTH = 64K sram (rwx) : ORIGIN = 0x20000000, LENGTH = 48K
} }
OUTPUT_ARCH(arm) OUTPUT_ARCH(arm)