4 years, 4 months ago.

mbed local file system not working?

I have used the local file system on the LPC1768 many times in the past with no problem, now however it does not work at all. Even the following program does not work:


#include "mbed.h"
LocalFileSystem local("local");               // Create the local filesystem under the name "local"
int main() {
    FILE *fp = fopen("/local/out.txt", "w");  // Open "out.txt" on the local file system for writing
    fprintf(fp, "Hello World!");

The file is not created, the mbed does not disappear as normal. Any ideas? Thanks

1 Answer

4 years, 4 months ago.

Thank you very much for your report. I also can reproduce this issue and created the ticket here. https://github.com/ARMmbed/mbed-os/issues/3983

Accepted Answer