From 05701a283065e66d4aa9fad63ed5aa69740564ef Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 14 Dec 2016 17:48:10 -1000 Subject: [PATCH] Reorged px4fmu-v5 code up 32K now that bootloader is completed. --- nuttx-configs/px4fmu-v5/scripts/ld.script | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/nuttx-configs/px4fmu-v5/scripts/ld.script b/nuttx-configs/px4fmu-v5/scripts/ld.script index 1fa88ca690..737f860d24 100644 --- a/nuttx-configs/px4fmu-v5/scripts/ld.script +++ b/nuttx-configs/px4fmu-v5/scripts/ld.script @@ -64,12 +64,15 @@ * 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. + * + * Bootloader reserves the first 32K bank (2 Mbytes Flash memory single bank) + * organization (256 bits read width) */ MEMORY { - itcm (rwx) : ORIGIN = 0x00200000, LENGTH = 2048K - flash (rx) : ORIGIN = 0x08000000, LENGTH = 2048K + itcm (rwx) : ORIGIN = 0x00208000, LENGTH = 2016K + flash (rx) : ORIGIN = 0x08008000, LENGTH = 2016K dtcm (rwx) : ORIGIN = 0x20000000, LENGTH = 128K sram1 (rwx) : ORIGIN = 0x20020000, LENGTH = 368K sram2 (rwx) : ORIGIN = 0x2007c000, LENGTH = 16K