summaryrefslogtreecommitdiff
path: root/nuttx/configs/kwikstik-k40/ostest
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-12 22:10:48 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-12 22:10:48 +0000
commitd212c46891d73fec2a1bbc4069d5fecfc360b8f1 (patch)
tree401de244f5464fd9d593cc676395702d0510f915 /nuttx/configs/kwikstik-k40/ostest
parent8e8fff821c980d0f4c5577367395b9c309383bbf (diff)
downloadpx4-nuttx-d212c46891d73fec2a1bbc4069d5fecfc360b8f1.tar.gz
px4-nuttx-d212c46891d73fec2a1bbc4069d5fecfc360b8f1.tar.bz2
px4-nuttx-d212c46891d73fec2a1bbc4069d5fecfc360b8f1.zip
Add Kinesis watchdog, ramfuncs, idle loop, start of clock configuration
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3875 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/kwikstik-k40/ostest')
-rwxr-xr-xnuttx/configs/kwikstik-k40/ostest/defconfig3
-rwxr-xr-xnuttx/configs/kwikstik-k40/ostest/ld.script12
2 files changed, 13 insertions, 2 deletions
diff --git a/nuttx/configs/kwikstik-k40/ostest/defconfig b/nuttx/configs/kwikstik-k40/ostest/defconfig
index c1b450069..6e31c1f95 100755
--- a/nuttx/configs/kwikstik-k40/ostest/defconfig
+++ b/nuttx/configs/kwikstik-k40/ostest/defconfig
@@ -822,6 +822,8 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
# (should also be =n for the KwikStik-K40 which always runs from flash)
# CONFIG_BOOT_COPYTORAM - Some configurations boot in FLASH
# but copy themselves entirely into RAM for better performance.
+# CONFIG_BOOT_RAMFUNCS - Other configurations may copy just some functions
+# into RAM, either for better performance or for errata workarounds.
# CONFIG_CUSTOM_STACK - The up_ implementation will handle
# all stack operations outside of the nuttx model.
# CONFIG_STACK_POINTER - The initial stack pointer (arm7tdmi only)
@@ -839,6 +841,7 @@ CONFIG_EXAMPLES_USBSERIAL_TRACEINTERRUPTS=n
#
CONFIG_BOOT_RUNFROMFLASH=n
CONFIG_BOOT_COPYTORAM=n
+CONFIG_BOOT_RAMFUNCS=y
CONFIG_CUSTOM_STACK=n
CONFIG_STACK_POINTER=
CONFIG_IDLETHREAD_STACKSIZE=1024
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