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