2012-04-06 17:49:35 +02:00
|
|
|
#
|
|
|
|
# For a description of the syntax of this configuration file,
|
2012-04-06 18:45:52 +02:00
|
|
|
# see misc/tools/kconfig-language.txt.
|
2012-04-06 17:49:35 +02:00
|
|
|
#
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config MSEC_PER_TICK
|
|
|
|
int "tick timer"
|
|
|
|
default 10
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The default system timer is 100Hz or MSEC_PER_TICK=10. This setting
|
|
|
|
may be defined to inform NuttX that the processor hardware is providing
|
|
|
|
system timer interrupts at some interrupt interval other than 10 msec.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config RR_INTERVAL
|
|
|
|
int "round robin timeslice"
|
|
|
|
default 0
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The round robin timeslice will be set this number of milliseconds;
|
|
|
|
Round robin scheduling can be disabled by setting this value to zero.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config SCHED_INSTRUMENTATION
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Monitor system performance"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
enables instrumentation in scheduler to monitor system performance.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config TASK_NAME_SIZE
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Maximum task name size"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 32
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Spcifies that maximum size of a task name to save in the TCB.
|
|
|
|
Useful if scheduler instrumentation is selected. Set to zero to
|
|
|
|
disable.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config JULIAN_TIME
|
|
|
|
bool "Enables Julian time conversions"
|
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Enables Julian time conversions
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config START_YEAR
|
|
|
|
int "start year"
|
|
|
|
default 2010
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config START_MONTH
|
|
|
|
int "start month"
|
|
|
|
default 1
|
|
|
|
|
|
|
|
config START_DAY
|
|
|
|
int "start day"
|
|
|
|
default 1
|
|
|
|
|
|
|
|
config DEV_CONSOLE
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Enable /dev/console"
|
2012-04-07 16:50:57 +02:00
|
|
|
default y
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Set if architecture-specific logic provides /dev/console. Enables
|
|
|
|
stdout, stderr, stdin.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DEV_LOWCONSOLE
|
|
|
|
bool "enable low-level serial console"
|
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Use the simple, low-level, write-only serial console driver (minimul support)
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config MUTEX_TYPES:
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Enable mutex types"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Set to enable support for recursive and errorcheck mutexes. Enables
|
|
|
|
pthread_mutexattr_settype().
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config PRIORITY_INHERITANCE
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Enable priority inheritance "
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Set to enable support for priority inheritance on mutexes and semaphores.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config SEM_PREALLOCHOLDERS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Pre-allocated holders"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 16
|
|
|
|
depends on PRIORITY_INHERITANCE
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
This setting is only used if priority inheritance is enabled.
|
|
|
|
It defines the maximum number of different threads (minus one) that
|
|
|
|
can take counts on a semaphore with priority inheritance support.
|
|
|
|
This may be set to zero if priority inheritance is disabled OR if you
|
|
|
|
are only using semaphores as mutexes (only one holder) OR if no more
|
|
|
|
than two threads participate using a counting semaphore.
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
config SEM_NNESTPRIO
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Maximum number of higher priority threads"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 16
|
|
|
|
depends on PRIORITY_INHERITANCE
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
If priority inheritance is enabled, then this setting is the
|
|
|
|
maximum number of higher priority threads (minus 1) than can be
|
|
|
|
waiting for another thread to release a count on a semaphore.
|
|
|
|
This value may be set to zero if no more than one thread is
|
|
|
|
expected to wait for a semaphore.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config FDCLONE_DISABLE
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable cloning of file descriptors"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Disable cloning of all file descriptors
|
|
|
|
by task_create() when a new task is started. If set, all
|
|
|
|
files/drivers will appear to be closed in the new task.
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config FDCLONE_STDIO
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable clone file descriptors without stdio"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Disable cloning of all but the first three file descriptors (stdin,
|
|
|
|
stdout, stderr) by task_create() when a new task is started. If set,
|
|
|
|
all files/drivers will appear to be closed in the new task except
|
|
|
|
for stdin, stdout, and stderr.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config SDCLONE_DISABLE
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable cloning of socket descriptors"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
Disable cloning of all socket
|
|
|
|
desciptors by task_create() when a new task is started. If
|
|
|
|
set, all sockets will appear to be closed in the new task.
|
|
|
|
|
|
|
|
config DISABLE_OS_API
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable NuttX interfaces"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
|
|
|
The following can be used to disable categories of
|
|
|
|
APIs supported by the OS. If the compiler supports
|
|
|
|
weak functions, then it should not be necessary to
|
|
|
|
disable functions unless you want to restrict usage
|
|
|
|
of those APIs.
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
There are certain dependency relationships in these
|
|
|
|
features.
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
o mq_notify logic depends on signals to awaken tasks
|
|
|
|
waiting for queues to become full or empty.
|
|
|
|
o pthread_condtimedwait() depends on signals to wake
|
|
|
|
up waiting tasks.
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config DISABLE_CLOCK
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable clock interfaces"
|
2012-04-07 16:50:57 +02:00
|
|
|
depends on DISABLE_OS_API
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DISABLE_POSIX_TIMERS
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable POSIX timers"
|
2012-04-07 16:50:57 +02:00
|
|
|
depends on DISABLE_OS_API
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DISABLE_PTHREAD
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable pthread support"
|
2012-04-07 16:50:57 +02:00
|
|
|
depends on DISABLE_OS_API
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DISABLE_SIGNALS
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable signal support"
|
2012-04-07 16:50:57 +02:00
|
|
|
depends on DISABLE_OS_API
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DISABLE_MQUEUE
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable POSIX message queue support"
|
2012-04-07 16:50:57 +02:00
|
|
|
depends on DISABLE_OS_API
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DISABLE_MOUNTPOINT
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable support for mount points"
|
2012-04-07 16:50:57 +02:00
|
|
|
depends on DISABLE_OS_API
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DISABLE_ENVIRON
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable environment variable support"
|
2012-04-07 16:50:57 +02:00
|
|
|
depends on DISABLE_OS_API
|
|
|
|
default n
|
|
|
|
|
|
|
|
config DISABLE_POLL
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Disable driver poll interfaces"
|
2012-04-07 16:50:57 +02:00
|
|
|
depends on DISABLE_OS_API
|
|
|
|
default n
|
|
|
|
|
|
|
|
comment "Sizes of configurable things (0 disables)"
|
|
|
|
|
|
|
|
config MAX_TASKS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Max tasks"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 32
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The maximum number of simultaneously active tasks. This value must be
|
|
|
|
a power of two.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config MAX_TASK_ARGS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Maximum number of task arguments"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 4
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
This controls the maximum number of of parameters that a task may
|
|
|
|
receive (i.e., maxmum value of 'argc')
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config NPTHREAD_KEYS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Number of pthread keys"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 4
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The number of items of thread-
|
|
|
|
specific data that can be retained
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config NFILE_DESCRIPTORS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Max file descriptors"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 16
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The maximum number of file
|
|
|
|
descriptors (one for each open)
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config NFILE_STREAMS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Max file streams"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 16
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The maximum number of streams that can be fopen'ed
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config NAME_MAX
|
|
|
|
int "name max"
|
|
|
|
default 32
|
|
|
|
---help---
|
|
|
|
The maximum size of a file name.
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config PREALLOC_MQ_MSGS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Pre-allocated messages"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 32
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The number of pre-allocated message structures. The system manages
|
|
|
|
a pool of preallocated message structures to minimize dynamic allocations
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config MQ_MAXMSGSIZE
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Maximum message size"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 32
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Message structures are allocated with a fixed payload size given by this
|
|
|
|
setting (does not include other message structure overhead.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config MAX_WDOGPARMS
|
|
|
|
int "max watchdog parms"
|
|
|
|
default 4
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Maximum number of parameters that
|
|
|
|
can be passed to a watchdog handler
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config PREALLOC_WDOGS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Pre-allocated watchdogs"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 32
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The number of pre-allocated watchdog structures. The system manages a
|
|
|
|
pool of preallocated watchdog structures to minimize dynamic allocations
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
config PREALLOC_TIMERS
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Pre-allocated timers"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 8
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
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.
|
2012-04-07 16:50:57 +02:00
|
|
|
|
|
|
|
comment "Stack and heap information"
|
|
|
|
|
|
|
|
config BOOT_RUNFROMFLASH
|
|
|
|
bool "boot run from flash"
|
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Some configurations support XIP operation from FLASH but must copy
|
|
|
|
initialized .data sections to RAM
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config BOOT_COPYTORAM
|
|
|
|
bool "boot copy to ram"
|
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Some configurations boot in FLASH
|
|
|
|
but copy themselves entirely into RAM for better performance.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config CUSTOM_STACK
|
2012-04-11 19:13:04 +02:00
|
|
|
bool "Enable custom stack"
|
2012-04-07 16:50:57 +02:00
|
|
|
default n
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The up_ implementation will handle all stack operations outside of the
|
|
|
|
nuttx model. This is necessary for certain architectures that have
|
|
|
|
have hardware stacks (such as the 8051 family).
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config STACK_POINTER
|
2012-04-13 16:27:44 +02:00
|
|
|
hex "The initial stack pointer"
|
2012-04-07 16:50:57 +02:00
|
|
|
---help---
|
2012-04-12 23:52:04 +02:00
|
|
|
The initial stack pointer (arm7tdmi only).
|
2012-04-11 19:13:04 +02:00
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config IDLETHREAD_STACKSIZE
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Idle thread stack size"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 1024
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The size of the initial stack used by the IDLE thread. The IDLE thread
|
|
|
|
is the thread that (1) performs the inital boot of the system up to the
|
|
|
|
point where user_start() is spawned, and (2) there after is the IDLE
|
|
|
|
thread that executes only when there is no other thread ready to run.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config USERMAIN_STACKSIZE
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Main thread stack size"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 2048
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
The size of the stack to allocate for the main user thread that begins at
|
|
|
|
the user_start() entry point.
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config PTHREAD_STACK_MIN
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Minimum pthread stack size"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 256
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Minimum pthread stack size
|
|
|
|
|
2012-04-07 16:50:57 +02:00
|
|
|
config PTHREAD_STACK_DEFAULT
|
2012-04-11 19:13:04 +02:00
|
|
|
int "Default pthread stack size"
|
2012-04-07 16:50:57 +02:00
|
|
|
default 2048
|
|
|
|
---help---
|
2012-04-11 19:13:04 +02:00
|
|
|
Default pthread stack size
|
|
|
|
|