mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
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
This commit is contained in:
@@ -94,6 +94,7 @@ defconfig -- This is a configuration file similar to the Linux
|
|||||||
o pthread_condtimedwait() depends on signals to wake
|
o pthread_condtimedwait() depends on signals to wake
|
||||||
up waiting tasks.
|
up waiting tasks.
|
||||||
|
|
||||||
|
CONFIG_DISABLE_CLOCK, CONFIG_DISABLE_PTHREAD.
|
||||||
CONFIG_DISABLE_SIGNALS, CONFIG_DISABLE_MQUEUE
|
CONFIG_DISABLE_SIGNALS, CONFIG_DISABLE_MQUEUE
|
||||||
|
|
||||||
Allow for architecture optimized implementations
|
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)
|
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-
|
CONFIG_NPTHREAD_KEYS - The number of items of thread-
|
||||||
specific data that can be retained
|
specific data that can be retained
|
||||||
CONFIG_NFILE_DESCRIPTORS - The maximum number of file
|
CONFIG_NFILE_DESCRIPTORS - The maximum number of file
|
||||||
|
|||||||
@@ -125,6 +125,8 @@ CONFIG_DEV_CONSOLE=y
|
|||||||
# o pthread_condtimedwait() depends on signals to wake
|
# o pthread_condtimedwait() depends on signals to wake
|
||||||
# up waiting tasks.
|
# up waiting tasks.
|
||||||
#
|
#
|
||||||
|
CONFIG_DISABLE_CLOCK=n
|
||||||
|
CONFIG_DISABLE_PTHREAD=n
|
||||||
CONFIG_DISABLE_SIGNALS=n
|
CONFIG_DISABLE_SIGNALS=n
|
||||||
CONFIG_DISABLE_MQUEUE=n
|
CONFIG_DISABLE_MQUEUE=n
|
||||||
|
|
||||||
@@ -158,6 +160,8 @@ CONFIG_RRLOAD_BINARY=y
|
|||||||
#
|
#
|
||||||
# Sizes of configurable things (0 disables)
|
# 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-
|
# CONFIG_NPTHREAD_KEYS - The number of items of thread-
|
||||||
# specific data that can be retained
|
# specific data that can be retained
|
||||||
# CONFIG_NFILE_DESCRIPTORS - The maximum number of file
|
# CONFIG_NFILE_DESCRIPTORS - The maximum number of file
|
||||||
@@ -180,6 +184,7 @@ CONFIG_RRLOAD_BINARY=y
|
|||||||
# structures. The system manages a pool of preallocated
|
# structures. The system manages a pool of preallocated
|
||||||
# watchdog structures to minimize dynamic allocations
|
# watchdog structures to minimize dynamic allocations
|
||||||
#
|
#
|
||||||
|
CONFIG_MAX_TASKS=64
|
||||||
CONFIG_NPTHREAD_KEYS=4
|
CONFIG_NPTHREAD_KEYS=4
|
||||||
CONFIG_NFILE_DESCRIPTORS=32
|
CONFIG_NFILE_DESCRIPTORS=32
|
||||||
CONFIG_NFILE_STREAMS=16
|
CONFIG_NFILE_STREAMS=16
|
||||||
|
|||||||
@@ -92,6 +92,8 @@ CONFIG_DEV_CONSOLE=y
|
|||||||
# o pthread_condtimedwait() depends on signals to wake
|
# o pthread_condtimedwait() depends on signals to wake
|
||||||
# up waiting tasks.
|
# up waiting tasks.
|
||||||
#
|
#
|
||||||
|
CONFIG_DISABLE_CLOCK=n
|
||||||
|
CONFIG_DISABLE_PTHREAD=n
|
||||||
CONFIG_DISABLE_SIGNALS=n
|
CONFIG_DISABLE_SIGNALS=n
|
||||||
CONFIG_DISABLE_MQUEUE=n
|
CONFIG_DISABLE_MQUEUE=n
|
||||||
|
|
||||||
@@ -125,6 +127,8 @@ CONFIG_RRLOAD_BINARY=n
|
|||||||
#
|
#
|
||||||
# Sizes of configurable things (0 disables)
|
# 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-
|
# CONFIG_NPTHREAD_KEYS - The number of items of thread-
|
||||||
# specific data that can be retained
|
# specific data that can be retained
|
||||||
# CONFIG_NFILE_DESCRIPTORS - The maximum number of file
|
# CONFIG_NFILE_DESCRIPTORS - The maximum number of file
|
||||||
@@ -147,6 +151,7 @@ CONFIG_RRLOAD_BINARY=n
|
|||||||
# structures. The system manages a pool of preallocated
|
# structures. The system manages a pool of preallocated
|
||||||
# watchdog structures to minimize dynamic allocations
|
# watchdog structures to minimize dynamic allocations
|
||||||
#
|
#
|
||||||
|
CONFIG_MAX_TASKS=64
|
||||||
CONFIG_NPTHREAD_KEYS=4
|
CONFIG_NPTHREAD_KEYS=4
|
||||||
CONFIG_NFILE_DESCRIPTORS=32
|
CONFIG_NFILE_DESCRIPTORS=32
|
||||||
CONFIG_NFILE_STREAMS=16
|
CONFIG_NFILE_STREAMS=16
|
||||||
|
|||||||
Reference in New Issue
Block a user