From 8d32bce60e8345d3ab90dbf5018234dac53df162 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 5 Nov 2014 07:49:20 -0600 Subject: Move CONFIG_NSH_TMPDIR to CONFIG_LIBC_TMPDIR --- nuttx/fs/Kconfig | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'nuttx') diff --git a/nuttx/fs/Kconfig b/nuttx/fs/Kconfig index 8de3f51b0..92828d9ac 100644 --- a/nuttx/fs/Kconfig +++ b/nuttx/fs/Kconfig @@ -61,6 +61,16 @@ source fs/smartfs/Kconfig source fs/binfs/Kconfig source fs/procfs/Kconfig +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. + comment "System Logging" config SYSLOG -- cgit v1.2.3