Yeah the point of this is the user doesn’t know the data is held in a file, it’s automatic to them. (Like lmnts)
The only thing to becareful of is they have to use an sdcard, which theoretically is not a requirement , but in practice most users have.
Again, just to repeat (as important) this is designed for initializing /allocating data at startup , if you keep allocating/freeing you are likely to have issues.
Also remember a patch can only take a certain amount of time, otherwise initialisation will timeout.
(Can’t remember off hand what that timeout is)
Also remember to check return value from the Malloc , the more object developers use this, the more likely users are to run out of sdram during initialisation... and if you don’t log the failure, they’ll just start complaining of boards ‘crashing’