I'd like to propose a new minimal "Filesystem" which provides a "file" that is internally just a memorylocation. A Pointer. A read() or write() would just be a memcpy.
This way, everything that uses a file can be used for raw data in flash, ram, psram.
For example, we wou'dnt need distinct sourcecodes anymore for some things i.e. like "playMem" from the audio library.
This way, everything that uses a file can be used for raw data in flash, ram, psram.
For example, we wou'dnt need distinct sourcecodes anymore for some things i.e. like "playMem" from the audio library.