Is there a way to erase/format everything that is stored in FDS so the storage can be reset to a blank state?
I wasn't able to find away to enumerate all files stored in FDS either, is this possible as an alternative?
Thanks!
Is there a way to erase/format everything that is stored in FDS so the storage can be reset to a blank state?
I wasn't able to find away to enumerate all files stored in FDS either, is this possible as an alternative?
Thanks!
There are only 64k possible file IDs - they are only 16 bits wide. Enumerating all of them should take less than a second.
Another rather obvious solution would be to just erase all FDS flash pages. Note that I don't think you can initialize FDS in a program twice (at least in oler SDKs), so you may need a reboot.
Another rather obvious solution would be to just erase all FDS flash pages. Note that I don't think you can initialize FDS in a program twice (at least in oler SDKs), so you may need a reboot.