9 years, 5 months ago.

About the LocalFileSystem and mbed.h

I tried to get familiar with mbed of MAX32600 version by doing some file operation. However when I want to announce a new object of LocalFileSystem. I was told that the LocalFileSystem is undefined. So where is my faut?

Here is my program:

  1. include "mbed.h"

LocalFile System local("local"); int main() { FILE *fp=fopen("/local/out.txt","w"); fpringf(fp,"hello world\n"); fclose(fp); }

Be the first to answer this question.