summaryrefslogtreecommitdiff
path: root/nuttx/configs/kwikstik-k40/ostest/ld.script
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/kwikstik-k40/ostest/ld.script')
-rwxr-xr-xnuttx/configs/kwikstik-k40/ostest/ld.script12
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