summaryrefslogtreecommitdiff
path: root/nuttx/libc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/libc/Kconfig')
-rw-r--r--nuttx/libc/Kconfig21
1 files changed, 21 insertions, 0 deletions
diff --git a/nuttx/libc/Kconfig b/nuttx/libc/Kconfig
index 8f9569bde..138793aad 100644
--- a/nuttx/libc/Kconfig
+++ b/nuttx/libc/Kconfig
@@ -192,6 +192,27 @@ config LIBC_PERROR_STDOUT
be defined, however, to provide perror() output that is serialized with
other stdout messages.
+config LIBC_TMPDIR
+ string "Temporary file directory"
+ default "/tmp"
+ depends on FS_WRITABLE
+ ---help---
+ If a write-able file system is selected, this string will be
+ provided to specify the full path to a directory where temporary
+ files can be created. This would be a good application of RAM disk:
+ To provide temporary storage for application data.
+
+config LIBC_MAX_TMPFILE
+ int "Maximum size of a temporary file path"
+ default 32
+ depends on FS_WRITABLE
+ ---help---
+ If a write-able file system is selected, then temporary file may be
+ supported at the path provided by LIBC_TMPDIR. The tmpnam() interface
+ keeps a static copy of this last filename produced; this value is the
+ maximum size of that last filename. This size is the size of the full
+ file path.
+
config ARCH_LOWPUTC
bool "Low-level console output"
default "y"