diff options
author | Mark Charlebois <charlebm@gmail.com> | 2015-04-08 14:40:20 -0700 |
---|---|---|
committer | Mark Charlebois <charlebm@gmail.com> | 2015-04-20 11:35:48 -0700 |
commit | 5d988381e629281ae5435aeda3b4ca102f6e6f7b (patch) | |
tree | 19b47e9bcb2ac3f39a1c663406ab66bf2a166e0c | |
parent | d264273d2115d76f851c3aa35d604fd01aafa190 (diff) | |
download | px4-firmware-5d988381e629281ae5435aeda3b4ca102f6e6f7b.tar.gz px4-firmware-5d988381e629281ae5435aeda3b4ca102f6e6f7b.tar.bz2 px4-firmware-5d988381e629281ae5435aeda3b4ca102f6e6f7b.zip |
Linux: Created new linker script from scratch
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
-rw-r--r-- | linux-configs/linuxtest/scripts/ld.script | 25 |
1 files changed, 5 insertions, 20 deletions
diff --git a/linux-configs/linuxtest/scripts/ld.script b/linux-configs/linuxtest/scripts/ld.script index 2e92f20a6..32478e1e1 100644 --- a/linux-configs/linuxtest/scripts/ld.script +++ b/linux-configs/linuxtest/scripts/ld.script @@ -1,8 +1,8 @@ /**************************************************************************** - * configs/aerocore/common/ld.script + * ld.script * - * Copyright (C) 2011 Gregory Nutt. All rights reserved. - * Author: Gregory Nutt <gnutt@nuttx.org> + * Copyright (C) 2015 Mark Charlebois. All rights reserved. + * Author: Mark Charlebois <charlebm@gmail.com> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -14,7 +14,7 @@ * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. - * 3. Neither the name NuttX nor the names of its contributors may be + * 3. Neither the name PX4 nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * @@ -33,27 +33,12 @@ * ****************************************************************************/ -/* The STM32F427 has 2048Kb of FLASH beginning at address 0x0800:0000 and - * 256Kb of SRAM. SRAM is split up into three blocks: - * - * 1) 112Kb of SRAM beginning at address 0x2000:0000 - * 2) 16Kb of SRAM beginning at address 0x2001:c000 - * 3) 64Kb of SRAM beginning at address 0x2002:0000 - * 4) 64Kb of TCM SRAM beginning at address 0x1000: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. - * - * The first 0x4000 of flash is reserved for the bootloader. - */ - SECTIONS { /* * Construction data for parameters. */ - __param ALIGN(8): { + __param : ALIGN(8) { __param_start = .; KEEP(*(__param*)) __param_end = .; |