diff options
Diffstat (limited to 'nuttx/configs/kwikstik-k40/ostest/ld.script')
-rwxr-xr-x | nuttx/configs/kwikstik-k40/ostest/ld.script | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/nuttx/configs/kwikstik-k40/ostest/ld.script b/nuttx/configs/kwikstik-k40/ostest/ld.script index b91f14996..21a3f11fd 100755 --- a/nuttx/configs/kwikstik-k40/ostest/ld.script +++ b/nuttx/configs/kwikstik-k40/ostest/ld.script @@ -66,8 +66,6 @@ SECTIONS _etext = ABSOLUTE(.); } > flash - _eronly = ABSOLUTE(.); - .data : { _sdata = ABSOLUTE(.); *(.data .data.*) @@ -76,6 +74,16 @@ SECTIONS _edata = ABSOLUTE(.); } > sram AT > flash + _eronly = LOADADDR(.data); + + .ramfunc ALIGN(4): { + _sramfunc_begin = . ; + *(.ramfunc .ramfunc.*) + _eramfunc_end = . ; + } > sram AT > flash + + _framfunc = LOADADDR(.ramfunc); + .ARM.extab : { *(.ARM.extab*) } >sram |