Browse Source

NXPHlite-v3:Ensure bin file sizes in mtpl of 8

sbg
David Sidrane 7 years ago
parent
commit
790356ef6d
  1. 22
      platforms/nuttx/nuttx-configs/nxphlite-v3/scripts/ld.script

22
platforms/nuttx/nuttx-configs/nxphlite-v3/scripts/ld.script

@ -87,8 +87,9 @@ SECTIONS @@ -87,8 +87,9 @@ SECTIONS
* use the NuttX get_errno_ptr() function.
*/
__errno = get_errno_ptr;
. = ALIGN(8);
_eotext = .;
. = ALIGN(8);
FILL(0xff)
. += 8;
} > progflash =0xff
/*
@ -99,6 +100,9 @@ SECTIONS @@ -99,6 +100,9 @@ SECTIONS
_sinit = ABSOLUTE(.);
KEEP(*(.init_array .init_array.*))
_einit = ABSOLUTE(.);
. = ALIGN(8);
FILL(0xff)
. += 8;
} > progflash
/*
@ -108,10 +112,16 @@ SECTIONS @@ -108,10 +112,16 @@ SECTIONS
__param_start = ABSOLUTE(.);
KEEP(*(__param*))
__param_end = ABSOLUTE(.);
. = ALIGN(8);
FILL(0xff)
. += 8;
} > progflash
.ARM.extab : {
*(.ARM.extab*)
. = ALIGN(8);
FILL(0xff)
. += 8;
} > progflash
__exidx_start = ABSOLUTE(.);
@ -128,14 +138,18 @@ SECTIONS @@ -128,14 +138,18 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
. = ALIGN(8);
FILL(0xff)
. += 8;
} > datasram AT > progflash
.ramfunc ALIGN(4): {
_sramfuncs = ABSOLUTE(.);
*(.ramfunc .ramfunc.*)
_eramfuncs = ABSOLUTE(.);
. = ALIGN(8);
_eotext = .;
. = ALIGN(8);
FILL(0xff)
. += 8;
} > datasram AT > progflash =0xff
_framfuncs = LOADADDR(.ramfunc);

Loading…
Cancel
Save