diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-21 17:21:26 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-03-21 17:21:26 +0000 |
commit | 9539b686d25f82b5a9938725c6fe2c2ac862e632 (patch) | |
tree | 15bd94438dbb8fd1f655598700f34c79dd3af092 /nuttx/arch | |
parent | 7407828071d3d8f8d15f4e99e34114208e97bc33 (diff) | |
download | px4-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')
-rw-r--r-- | nuttx/arch/README.txt | 2 | ||||
-rw-r--r-- | nuttx/arch/c5471/defconfig | 6 | ||||
-rw-r--r-- | nuttx/arch/dm320/defconfig | 6 | ||||
-rw-r--r-- | nuttx/arch/dm320/ld.script | 2 | ||||
-rw-r--r-- | nuttx/arch/pjrc-8051/defconfig | 6 | ||||
-rw-r--r-- | nuttx/arch/sim/defconfig | 6 |
6 files changed, 26 insertions, 2 deletions
diff --git a/nuttx/arch/README.txt b/nuttx/arch/README.txt index c61401348..63288f114 100644 --- a/nuttx/arch/README.txt +++ b/nuttx/arch/README.txt @@ -108,7 +108,7 @@ defconfig -- This is a configuration file similar to the Linux o pthread_condtimedwait() depends on signals to wake up waiting tasks. - CONFIG_DISABLE_CLOCK, CONFIG_DISABLE_PTHREAD. + CONFIG_DISABLE_CLOCK, CONFIG_DISABLE_POSIX_TIMERS, CONFIG_DISABLE_PTHREAD. CONFIG_DISABLE_SIGNALS, CONFIG_DISABLE_MQUEUE diff --git a/nuttx/arch/c5471/defconfig b/nuttx/arch/c5471/defconfig index 7ebb81587..a7d27caad 100644 --- a/nuttx/arch/c5471/defconfig +++ b/nuttx/arch/c5471/defconfig @@ -138,6 +138,7 @@ CONFIG_DEV_CONSOLE=y # up waiting tasks. # CONFIG_DISABLE_CLOCK=n +CONFIG_DISABLE_POSIX_TIMERS=n CONFIG_DISABLE_PTHREAD=n CONFIG_DISABLE_SIGNALS=n CONFIG_DISABLE_MQUEUE=n @@ -207,6 +208,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 @@ -220,6 +225,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/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) diff --git a/nuttx/arch/pjrc-8051/defconfig b/nuttx/arch/pjrc-8051/defconfig index 28925eec5..cdb73acda 100644 --- a/nuttx/arch/pjrc-8051/defconfig +++ b/nuttx/arch/pjrc-8051/defconfig @@ -132,6 +132,7 @@ CONFIG_DEV_CONSOLE=n # up waiting tasks. # CONFIG_DISABLE_CLOCK=y +CONFIG_DISABLE_POSIX_TIMERS=y CONFIG_DISABLE_PTHREAD=y CONFIG_DISABLE_SIGNALS=y CONFIG_DISABLE_MQUEUE=y @@ -201,6 +202,10 @@ CONFIG_RRLOAD_BINARY=n # 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=8 CONFIG_MAX_TASK_ARGS=4 @@ -214,6 +219,7 @@ CONFIG_PREALLOC_MQ_MSGS=0 CONFIG_MQ_MAXMSGSIZE=0 CONFIG_MAX_WDOGPARMS=2 CONFIG_PREALLOC_WDOGS=4 +CONFIG_PREALLOC_TIMERS=0 # # Stack and heap information diff --git a/nuttx/arch/sim/defconfig b/nuttx/arch/sim/defconfig index 910623d1c..142d1d413 100644 --- a/nuttx/arch/sim/defconfig +++ b/nuttx/arch/sim/defconfig @@ -98,6 +98,7 @@ CONFIG_DEV_CONSOLE=y # up waiting tasks. # CONFIG_DISABLE_CLOCK=n +CONFIG_DISABLE_POSIX_TIMERS=n CONFIG_DISABLE_PTHREAD=n CONFIG_DISABLE_SIGNALS=n CONFIG_DISABLE_MQUEUE=n @@ -167,6 +168,10 @@ CONFIG_RRLOAD_BINARY=n # 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 @@ -180,6 +185,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 |