summaryrefslogtreecommitdiff
path: root/nuttx/arch
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-01 21:05:55 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-01 21:05:55 +0000
commit08680a039b6ffc922731d9a1cfdff20ef204dbba (patch)
tree25bb704377c624f2d63c4bb5ad1df332d44aa78a /nuttx/arch
parent129dd27cc4deb042d2f88c65927adc49c338756d (diff)
downloadpx4-nuttx-08680a039b6ffc922731d9a1cfdff20ef204dbba.tar.gz
px4-nuttx-08680a039b6ffc922731d9a1cfdff20ef204dbba.tar.bz2
px4-nuttx-08680a039b6ffc922731d9a1cfdff20ef204dbba.zip
This creates a 8051 build that can run in 24Kb of RAM
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@26 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch')
-rw-r--r--nuttx/arch/README.txt3
-rw-r--r--nuttx/arch/c5471/defconfig5
-rw-r--r--nuttx/arch/sim/defconfig5
3 files changed, 13 insertions, 0 deletions
diff --git a/nuttx/arch/README.txt b/nuttx/arch/README.txt
index e10393c9f..629431a45 100644
--- a/nuttx/arch/README.txt
+++ b/nuttx/arch/README.txt
@@ -94,6 +94,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_SIGNALS, CONFIG_DISABLE_MQUEUE
Allow for architecture optimized implementations
@@ -108,6 +109,8 @@ defconfig -- This is a configuration file similar to the Linux
Sizes of configurable things (0 disables)
+ CONFIG_MAX_TASKS - The maximum number of simultaneously
+ active tasks. This value must be a power of two.
CONFIG_NPTHREAD_KEYS - The number of items of thread-
specific data that can be retained
CONFIG_NFILE_DESCRIPTORS - The maximum number of file
diff --git a/nuttx/arch/c5471/defconfig b/nuttx/arch/c5471/defconfig
index 731f1d85c..d0d7c755b 100644
--- a/nuttx/arch/c5471/defconfig
+++ b/nuttx/arch/c5471/defconfig
@@ -125,6 +125,8 @@ CONFIG_DEV_CONSOLE=y
# o pthread_condtimedwait() depends on signals to wake
# up waiting tasks.
#
+CONFIG_DISABLE_CLOCK=n
+CONFIG_DISABLE_PTHREAD=n
CONFIG_DISABLE_SIGNALS=n
CONFIG_DISABLE_MQUEUE=n
@@ -158,6 +160,8 @@ CONFIG_RRLOAD_BINARY=y
#
# Sizes of configurable things (0 disables)
#
+# CONFIG_MAX_TASKS - The maximum number of simultaneously
+# active tasks. This value must be a power of two.
# CONFIG_NPTHREAD_KEYS - The number of items of thread-
# specific data that can be retained
# CONFIG_NFILE_DESCRIPTORS - The maximum number of file
@@ -180,6 +184,7 @@ CONFIG_RRLOAD_BINARY=y
# structures. The system manages a pool of preallocated
# watchdog structures to minimize dynamic allocations
#
+CONFIG_MAX_TASKS=64
CONFIG_NPTHREAD_KEYS=4
CONFIG_NFILE_DESCRIPTORS=32
CONFIG_NFILE_STREAMS=16
diff --git a/nuttx/arch/sim/defconfig b/nuttx/arch/sim/defconfig
index b20319e7a..58648c509 100644
--- a/nuttx/arch/sim/defconfig
+++ b/nuttx/arch/sim/defconfig
@@ -92,6 +92,8 @@ CONFIG_DEV_CONSOLE=y
# o pthread_condtimedwait() depends on signals to wake
# up waiting tasks.
#
+CONFIG_DISABLE_CLOCK=n
+CONFIG_DISABLE_PTHREAD=n
CONFIG_DISABLE_SIGNALS=n
CONFIG_DISABLE_MQUEUE=n
@@ -125,6 +127,8 @@ CONFIG_RRLOAD_BINARY=n
#
# Sizes of configurable things (0 disables)
#
+# CONFIG_MAX_TASKS - The maximum number of simultaneously
+# active tasks. This value must be a power of two.
# CONFIG_NPTHREAD_KEYS - The number of items of thread-
# specific data that can be retained
# CONFIG_NFILE_DESCRIPTORS - The maximum number of file
@@ -147,6 +151,7 @@ CONFIG_RRLOAD_BINARY=n
# structures. The system manages a pool of preallocated
# watchdog structures to minimize dynamic allocations
#
+CONFIG_MAX_TASKS=64
CONFIG_NPTHREAD_KEYS=4
CONFIG_NFILE_DESCRIPTORS=32
CONFIG_NFILE_STREAMS=16