I can't execute:
echo ":-)" > /test.txt
"nsh: echo: open failed: No such file or directory"
The root file system is not a "real" file system. It is a pseudo-file
system and you cannot create regular files there. See
https://cwiki.apache.org/confluence/display/NUTTX/Pseudo+File+System (a
Thanks for that pointer David.
I can't execute:
echo ":-)" > /test.txt
"nsh: echo: open failed: No such file or directory"
but I can:
echo ":-)" > /fs/microsd/test.txt
I tried setting CONFIG_LIBC_TMPDIR to /fs/microsd/tmp, in both
the defconfig files, and creating the directory /fs/microsd/
Do you have a writeable /tmp? It would have to be /fs/microsd/tmp
"interim output will be retained in a temporary file. Full path to a
directory where temporary files can be created is taken from
CONFIG_LIBC_TMPDIR and it defaults to /tmp if CONFIG_LIBC_TMPDIR is not
set."
David
-Original Me