diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-10 23:49:13 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-04-10 23:49:13 +0000 |
commit | 3e83a91922974bdbbf76dd40960c774e85868cc1 (patch) | |
tree | 4f0e385ebcff6b7691547de0d9b05867d5214b92 /nuttx/lib | |
parent | 4dfecaf427d884d0a3e81bdf0850fa51af0e9ce0 (diff) | |
download | px4-nuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.tar.gz px4-nuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.tar.bz2 px4-nuttx-3e83a91922974bdbbf76dd40960c774e85868cc1.zip |
Add a little more configuration logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4587 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/lib')
-rw-r--r-- | nuttx/lib/Kconfig | 42 |
1 files changed, 37 insertions, 5 deletions
diff --git a/nuttx/lib/Kconfig b/nuttx/lib/Kconfig index cc34d9db0..6c2bd3f1c 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 |