summaryrefslogtreecommitdiffstats
path: root/nuttx/lib/Kconfig
diff options
context:
space:
mode:
authorpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-10 23:49:13 +0000
committerpatacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679>2012-04-10 23:49:13 +0000
commit819909d8603ae0ee641719f20bf6bb8286d64d35 (patch)
tree4f0e385ebcff6b7691547de0d9b05867d5214b92 /nuttx/lib/Kconfig
parent771e04c12e32d5adda5442169ab0aa6c25cb91cd (diff)
Add a little more configuration logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4587 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/lib/Kconfig')
-rw-r--r--nuttx/lib/Kconfig42
1 files changed, 37 insertions, 5 deletions
diff --git a/nuttx/lib/Kconfig b/nuttx/lib/Kconfig
index cc34d9db04..6c2bd3f1cf 100644
--- a/nuttx/lib/Kconfig
+++ b/nuttx/lib/Kconfig
@@ -2,32 +2,57 @@
# For a description of the syntax of this configuration file,
# see misc/tools/kconfig-language.txt.
#
+
+config STDIO_BUFFER_SIZE
+ int "C STDIO buffer size"
+ default 64
+ ---help---
+ Size of buffers using within the C buffered I/O interfaces.
+ (printf, putchar, fwrite, etc.).
+
+config STDIO_LINEBUFFER
+ bool "STDIO line buffering"
+ default y
+ ---help---
+ Flush buffer I/O whenever a newline character is found in
+ the output data stream.
+
+config CONFIG_LIB_HOMEDIR
+ string "Home directory"
+ default "/"
+ depends on !DISABLE_ENVIRON
+ ---help---
+ The home directory to use with operations like such as 'cd ~'
+
config HAVE_LIBM
- bool "supports libm.a"
+ bool "Architecture-specific libm.a"
default n
+ ---help---
+ Architecture specific logic provides an implementation of libm.a
+ and a math.h header file that can be found at include/arch/math.h.
config NOPRINTF_FIELDWIDTH
- bool "disable sprintf support fieldwidth"
+ bool "Disable sprintf support fieldwidth"
default n
---help---
sprintf-related logic is a
little smaller if we do not support fieldwidthes
config LIBC_FLOATINGPOINT
- bool "enable float point in printf"
+ bool "Enable floating point in printf"
default n
---help---
By default, floating point
support in printf, sscanf, etc. is disabled.
config ARCH_LOWPUTC
- bool "low-level console output"
+ bool "Low-level console output"
default "y"
---help---
architecture supports low-level, boot time console output
config ENABLE_ARCH_OPTIMIZED_FUN
- bool "enable arch optimized function"
+ bool "Enable arch optimized functions"
default n
---help---
Allow for architecture optimized implementations
@@ -51,24 +76,31 @@ config ARCH_MEMCMP
config ARCH_MEMMOVE
bool "memmove"
default n
+
config ARCH_MEMSET
bool "memset"
default n
+
config ARCH_STRCMP
bool "strcmp"
default n
+
config ARCH_STRCPY
bool "strcpy"
default n
+
config ARCH_STRNCPY
bool "strncpy"
default n
+
config ARCH_STRLEN
bool "strlen"
default n
+
config ARCH_STRNLEN
bool "strlen"
default n
+
config ARCH_BZERO
bool "bzero"
default n