How to use QSPI Flash on Boron

This declaration:

String* buf = new String[100];

creates an array of 100 String objects that are empty, not something you can read data into using read().

@joe_boron, by default, and array name is a pointer. @rickkas7 shows char buf[100] where buf is, by default, the pointer to buf[0].

Then, how would I delete the data or the files I wrote to the flash? Would I use the rmdir command?

To delete a file from the file system:

unlink("/usr/test1.txt");

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.