diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-16 14:28:18 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-06-16 14:28:18 +0000 |
commit | bd39911fb9424b42273b2a924c615c553ff8d744 (patch) | |
tree | 77207245ff9e29bf822e02cf902f3fe74b56ea16 /nuttx/configs/micropendous3/hello/ld.script | |
parent | c70a8e40fe9eed5b9c5460d1b4a4160f20d7e72c (diff) | |
download | px4-nuttx-bd39911fb9424b42273b2a924c615c553ff8d744.tar.gz px4-nuttx-bd39911fb9424b42273b2a924c615c553ff8d744.tar.bz2 px4-nuttx-bd39911fb9424b42273b2a924c615c553ff8d744.zip |
Fix SRAM data position
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3711 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/micropendous3/hello/ld.script')
-rw-r--r-- | nuttx/configs/micropendous3/hello/ld.script | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/nuttx/configs/micropendous3/hello/ld.script b/nuttx/configs/micropendous3/hello/ld.script index 72eb6f585..5492abda9 100644 --- a/nuttx/configs/micropendous3/hello/ld.script +++ b/nuttx/configs/micropendous3/hello/ld.script @@ -1,4 +1,4 @@ -/**************************************************************************** +/************************************************************************************** * configs/micropendous3/hello/ld.script * * Copyright (C) 2011 Gregory Nutt. All rights reserved. @@ -31,14 +31,23 @@ * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * - ****************************************************************************/ -/* Memory Regions ***********************************************************/ + **************************************************************************************/ + +/* Memory Regions *********************************************************************/ +/* -------------- ------ ------+------- -- ------ -- ------ --- ------ ----+------- --- + * FLASH | REGISTERS I/O EXT I/O ISRAM | EEPROM + * | REGISTERS REGISTERS | + * -------------- ------ ------+------- -- ------ -- ------ --- ------ ----+------- --- + * AT90USB646/7 0x0000 64Kb | 0x0000 32 0x0020 64 0x0060 160 0x0100 4Kb | 0x0000 2Kb + * AT90USB1286/7 0x0000 128Kb | 0x0000 32 0x0020 64 0x0060 160 0x0100 8Kb | 0x0000 4Kb + * -------------- ------ ------+------- -- ------ -- ------ --- ------ ----+------- --- + */ MEMORY { flash (rx) : ORIGIN = 0, LENGTH = 128K - sram (rw!x) : ORIGIN = 0x800060, LENGTH = 0xffa0 - eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K + sram (rw!x) : ORIGIN = 0x800100, LENGTH = 8K + eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 4K } OUTPUT_FORMAT("elf32-avr","elf32-avr","elf32-avr") |