Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
If a LocalFileSystem is declared in the usual way, an attempt to access a file in a subdirectory returns an error. E.g.
#include "mbed.h" LocalFileSystem local("local"); int main() { FILE *fp1 = fopen("/local/foo/fee.htm", "r"); // fp1 always returns an error fclose(fp1); }This works if the target file is in the root directory, but not if it is in a sub-directory.Am I missing something, or are paths not supported by the LocalFileSystem?