File System manager constructor.
At the moment it needs a MicroPython hex string without files included. Multiple MicroPython images can be provided to generate a Universal Hex.
MicroPython Intel Hex string or an array of Intel Hex strings with their respective board IDs.
Check if a file is already present in the file system.
Name for the file to check.
True if it exists, false otherwise.
Generate a new copy of the MicroPython Intel Hex with the files in the filesystem included.
OptionalboardId: number
When multiple MicroPython hex files are provided select one via this argument.
A new string with MicroPython and the filesystem included.
Generate a byte array of the MicroPython and filesystem data.
OptionalboardId: number
When multiple MicroPython hex files are provided select one via this argument.
A Uint8Array with MicroPython and the filesystem included.
The remaining storage of the file system in bytes.
The available filesystem total size either calculated by the MicroPython hex or the max storage size limit has been set.
Size of the filesystem in bytes.
The total number of bytes currently used by files in the file system.
Generate a new copy of a MicroPython Universal Hex with the files in the filesystem included.
A new Universal Hex string with MicroPython and filesystem.
Read the files included in a MicroPython Universal or Intel Hex string and add them to this instance.
MicroPython Intel or Universal Hex string with files.
A filename list of added files.
Read the files included in a MicroPython hex string and add them to this instance.
MicroPython hex string with files.
Flag to overwrite existing files in this instance.
A filename list of added files.
Read the files included in a MicroPython Universal Hex string and add them to this instance.
MicroPython Universal Hex string with files.
Flag to overwrite existing files in this instance.
A filename list of added files.
A list all the files in the file system.
Sets a storage size limit. Must be smaller than available space in MicroPython.
Size in bytes for the filesystem.
Manage filesystem files in one or multiple MicroPython hex files.