summaryrefslogtreecommitdiff
path: root/nuttx/arch/dm320
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-21 17:21:26 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-21 17:21:26 +0000
commit9539b686d25f82b5a9938725c6fe2c2ac862e632 (patch)
tree15bd94438dbb8fd1f655598700f34c79dd3af092 /nuttx/arch/dm320
parent7407828071d3d8f8d15f4e99e34114208e97bc33 (diff)
downloadpx4-nuttx-9539b686d25f82b5a9938725c6fe2c2ac862e632.tar.gz
px4-nuttx-9539b686d25f82b5a9938725c6fe2c2ac862e632.tar.bz2
px4-nuttx-9539b686d25f82b5a9938725c6fe2c2ac862e632.zip
Added support for POSIX timers
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@111 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/dm320')
-rw-r--r--nuttx/arch/dm320/defconfig6
-rw-r--r--nuttx/arch/dm320/ld.script2
2 files changed, 7 insertions, 1 deletions
diff --git a/nuttx/arch/dm320/defconfig b/nuttx/arch/dm320/defconfig
index bc0074110..cdf7a4326 100644
--- a/nuttx/arch/dm320/defconfig
+++ b/nuttx/arch/dm320/defconfig
@@ -135,6 +135,7 @@ CONFIG_DEV_CONSOLE=n
# up waiting tasks.
#
CONFIG_DISABLE_CLOCK=n
+CONFIG_DISABLE_POSIX_TIMERS=n
CONFIG_DISABLE_PTHREAD=n
CONFIG_DISABLE_SIGNALS=n
CONFIG_DISABLE_MQUEUE=n
@@ -204,6 +205,10 @@ CONFIG_RRLOAD_BINARY=y
# CONFIG_PREALLOC_WDOGS - The number of pre-allocated watchdog
# structures. The system manages a pool of preallocated
# watchdog structures to minimize dynamic allocations
+# CONFIG_PREALLOC_TIMERS - The number of pre-allocated POSIX
+# timer structures. The system manages a pool of preallocated
+# timer structures to minimize dynamic allocations. Set to
+# zero for all dynamic allocations.
#
CONFIG_MAX_TASKS=64
CONFIG_MAX_TASK_ARGS=4
@@ -217,6 +222,7 @@ CONFIG_PREALLOC_MQ_MSGS=32
CONFIG_MQ_MAXMSGSIZE=32
CONFIG_MAX_WDOGPARMS=4
CONFIG_PREALLOC_WDOGS=32
+CONFIG_PREALLOC_TIMERS=8
#
# Stack and heap information
diff --git a/nuttx/arch/dm320/ld.script b/nuttx/arch/dm320/ld.script
index 72dca6590..6ee7a5db3 100644
--- a/nuttx/arch/dm320/ld.script
+++ b/nuttx/arch/dm320/ld.script
@@ -39,7 +39,7 @@ SECTIONS
{
/* The OS entry point is here */
- . = 0x01108000;
+ . = 0x01008000;
.text : {
_stext = ABSOLUTE(.);
*(.text)